Ask Your Question

Zoom.Quiet's profile - activity

2016-10-30 01:20:07 -0600 commented answer OpenCV - Python Instalation

cmake is good, but realy hard use under windows, in face, any GNU-syle tools all hard under windows; so if u goal just install one opencv env. base like python(x,y) pre-complied install packet, is one good choice;-)

2016-10-30 00:55:48 -0600 answered a question OpenCV - Python Instalation

suggest install: Python by python -xy

all u need will auto install and config good.

2016-10-30 00:54:38 -0600 commented question which is better for opencv, C or Python?

of course use Python! for now, grogrammer's time is precious more then running performance. for C u need learn all OS platform SDK; base python, only python self...

2016-10-30 00:52:03 -0600 answered a question Definition of python functions

for python there always show us very friendly error tracking, so if u can show us the all error message , that will very help people re-help you; like :

In [1]: import cv2

In [2]: cv2.findChessboardCorners()

TypeError Traceback (most recent call last) <ipython-input-2-0ea99b6628b2> in <module>() ----> 1 cv2.findChessboardCorners()

TypeError: Required argument 'image' (pos 1) not found ...

and for my guess findEssentialMat is maybe not in cv3 ? compilation - How to enable findEssentialMat in opencv 2.4.9? - Stack Overflow

BTW: and other possible, not the findEssentialMat error, just u python code error?

E, mask = cv2.findEssentialMat(p1, p0, focal, pp, cv2.RANSAC, 0.999, 1.0); R, t = recoverPose(E, p1, p0, focal, pp, mask);

for this code ,look like not right python code...

2016-10-30 00:45:03 -0600 asked a question cv2.VideoCapture() can't got multi-camera video in same time through usb-hub under win10

ENV: win10pro 64, python(x,y) 2.7.10 (includr: OpenCV 2.4.11-7,PyQt 4.11.3-5,NumPy 1.9.2-8,...)

hardware: Surface Pro 4;tinkpad x230i(win7); usb2.0 hub; two webcam(uva driver, 1280x720px 10fps+680x420px 15pfs)

problem: through usb-hub, two web cam plugin to surface;

base code:


can not touch all webcam,only can visit the first webcam;

if cancel usb-hub, one by one plugin to thinkpad; cv2 can read two webcam's video in same time, AND with different Qt windows;

if base Qt layout, try to show two wecam video in same windows; always lost the last touch webcam;

BUT: same code can working good under macOS, even to through usb-hub, also can show two video in same Qt windows;

so what happened? How can i fixed this case by python+opencv?

thanks for ay suggest.