Ask Your Question
0

Opencv Python codes

asked 2016-04-09 03:05:39 -0500

Goutham gravatar image

Hi all, In which folder Opencv python stores the source files of built in functions. I am using OS X.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-04-09 03:41:39 -0500

berak gravatar image

updated 2016-04-09 03:43:12 -0500

the python wrappers are generated during the build phase, the output ends up in

build/modules/python2

or, for python3:

build/modules/python

there you will see:

pyopencv_generated_funcs.h
pyopencv_generated_include.h
pyopencv_generated_ns_reg.h
pyopencv_generated_types.h
pyopencv_generated_type_reg.h
edit flag offensive delete link more

Comments

Actually i need source code for cv2.calcopticalflowfarneback function.

Goutham gravatar imageGoutham ( 2016-04-09 05:36:24 -0500 )edit

again, opencv is a c++ library (with python wrappers). for the c++ code behind that, look at the github src

berak gravatar imageberak ( 2016-04-09 06:06:03 -0500 )edit

well, if you expected, that you could just c/p some lines of python for this - not so.

berak gravatar imageberak ( 2016-04-09 06:08:50 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2016-04-09 03:05:39 -0500

Seen: 83 times

Last updated: Apr 09 '16