Any functions like numpy.polyfit in OpenCV?

asked 2019-08-18 07:10:00 -0600

shim gravatar image

i am trying to implement or kinda of 'porting' a Udacity Advanced LaneDetection project in C++ code this project has been originally implemented in Python but i would like to implement in C++

everything was fine except Numpy.polyfit method.

Is there any function like Numpy.polyfit in opencv ? or c+++?

edit retag flag offensive close merge delete



you can use second answer

or may be fitline for a line

LBerger gravatar imageLBerger ( 2019-08-18 08:40:47 -0600 )edit

Thank you sir !!

shim gravatar imageshim ( 2019-08-20 08:24:38 -0600 )edit