2016-01-26 03:29:13 -0600 | asked a question | Problem about background in opencv 2.4.8 Dear all member! The following program displays 'foreground' completely black and not 'frame'. I also checked that all the values in 'frame' is equal to the values in 'foreground'. They have same channels,data type etc. I am using python 2.7.6 and OpenCV version 2.4.8 import cv2 import numpy as np Thank's a lot! |
2016-01-26 03:18:26 -0600 | asked a question | Question about image from webcame in opencv Hello everybody. I have read all three or four current threads on this subject that are on the internet, and so far none accurately answer the question. I am fairly new to wxPython, although I have some experience with FLTK. I am new to OpenCV. I am attempting to capture an image from a webcam with openCV and paint that image into wxPython. I have had limited success (I can get an image and paint it, but it's faint and not aligned properly). I can confirm that my webcam and openCV are working on their own, because sample code like this works as expected. Here is an example of my latest effort, which I've cobbled together from the internet and my own efforts with opencv2. OpenCV is not a hard requirement (I'm open to other options as long as the solution is cross-platform. If I'm not mistaken, Gstreamer is not cross platform, and PyGame has been difficult to embed in wxPython, but I'm open to ideas). wxPython is a hard requirement. Author: internet việt nam Thank's a lot! |