Ask Your Question
0

is the namespace omnidir not available on opencv4 in python3.6

asked 2019-01-16 11:37:39 -0600

updated 2019-01-16 12:33:36 -0600

berak gravatar image

i instaled opencv 4 and checked the Version.

Python 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 17:00:18)

">>> import cv2

">>>cv2.____version____"

'4.0.0'

i cant find the functions cv.omnidir.calibrate / cv2.omnidir.calibrate in opencv

do i have to compile it by myselfe or is there a way to use the omnicam calibration with python as described and Dokumented? https://www.docs.opencv.org/4.0.0/d4/... https://www.docs.opencv.org/4.0.0/d3/...

edit retag flag offensive close merge delete

Comments

what exactly did you install, and how so ?

berak gravatar imageberak ( 2019-01-16 11:51:47 -0600 )edit

I downloaded opencv winpack 4.0.0, opend it, used python setup.py install and set the paths on a new installed win 10 pc with python 3.6.5.

Other functions/namespaces do work, but I can't find the new omnicam calibration.

robertM gravatar imagerobertM ( 2019-01-16 14:10:22 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2019-01-16 21:35:56 -0600

berak gravatar image

the ccalib module which contains the omnidir namespace is not part of the main opencv repo.

you either have to download opencv_contrib and build from src or try a

pip install opencv_contrib_python
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2019-01-16 11:37:39 -0600

Seen: 1,195 times

Last updated: Jan 16 '19