# Module 'cv2' has no attribute TPS transformer creator (Google Colab)

**URL:** <https://forum.opencv.org/t/module-cv2-has-no-attribute-tps-transformer-creator-google-colab/20912>\
**Category:** Python\
**Tags:** colab\
**Created:** [April 28, 2025, 8:09am UTC](https://forum.opencv.org/t/module-cv2-has-no-attribute-tps-transformer-creator-google-colab/20912 "2025-04-28T08:09:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aniket\_Chakraborty1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/aniket_chakraborty1/32/12361_2.png) [@Aniket\_Chakraborty1](https://forum.opencv.org/u/Aniket_Chakraborty1)\
**Post date:** [April 28, 2025, 8:09am UTC](https://forum.opencv.org/t/module-cv2-has-no-attribute-tps-transformer-creator-google-colab/20912/1 "2025-04-28T08:09:04Z")

</div>

I am using the TPS method for image warping. I am using the OpenCV version 4.11.0.86. In my first run, all the codes works good and gives me my required output. Then, i was using the function cv2.createThinPlateSplineShapeTransformer()

However, when I am using the kernel restart and run all option in Google Colab, it is throwing me the error: “module ‘cv2’ has no attribute ‘createThinPlateSplineShapeTransformer’”, for the same code line. How to solve this issue? I am not understanding what is the exact problem here? Should Close the kernel and run from fresh will solve the problem?

 ![OpenCv_Issue](https://us1.discourse-cdn.com/flex020/uploads/opencv/original/2X/d/d6c39375b7df7496bce53278da3e228bc4203d3b.png)
