2016-03-15 06:20:34 -0600 | asked a question | OpenCV and MJPEG USB Webcam Hello, I have an Imagingsource DFK AFU050-L34 USB Webcam and I wan´t use OpenCV to read out this Camera. My Code looks like this: After starting this programm, I´ve got a black image and my Mat Frame has a size of 1280x720. I use OpenCV 3.1 with Visual Studio 2013 on a windows 7 machine. How can I fix this black image? Thanks for help! |
2016-02-18 09:09:32 -0600 | received badge | ● Enthusiast |
2016-02-15 05:59:22 -0600 | received badge | ● Supporter (source) |
2016-02-15 05:59:17 -0600 | received badge | ● Scholar (source) |
2016-02-15 03:35:19 -0600 | answered a question | Detect cars in video Hello, thank you for your response. I have to wait a few days to answer you, so please excuse me. I`ve changed my code to this: This solution works pretty good. The next step is to count the cars passing an imaginary area. My first idea was to define a area and check the x-coordinates of a corner from the bounding rect of each car and check it with my box. If the x-coordinate of the bounding rect is inside my box, the software should increase a counter. But this solution doesn´t work very well. Does OpenCV provide a better solution to realize this idea? |
2016-02-11 05:21:43 -0600 | asked a question | Detect cars in video Hello, I´m new with OpenCV and I want detect cars in a webcam or a video file. This is my current solution: I get a green Image with the filtered cars in it. Now I want to draw a box around this cars. How can I do it in an easy way? Thank you for help :) |