2020-02-20 12:55:09 -0600 | received badge | ● Famous Question (source) |
2018-08-29 09:48:50 -0600 | received badge | ● Notable Question (source) |
2018-02-19 00:51:31 -0600 | received badge | ● Popular Question (source) |
2017-04-26 08:58:38 -0600 | received badge | ● Notable Question (source) |
2016-02-29 14:40:07 -0600 | received badge | ● Popular Question (source) |
2015-05-08 11:53:07 -0600 | received badge | ● Nice Answer (source) |
2014-11-10 14:20:52 -0600 | answered a question | OpenCV Python cv2.BackgroundSubtractor parameters I found that (since some version of OpenCV) when I call the method To avoid it, I have to call the method So after starting the code: ...instead of doing: I should do: |
2014-11-05 07:12:12 -0600 | received badge | ● Teacher (source) |
2014-11-04 13:43:20 -0600 | received badge | ● Self-Learner (source) |
2014-11-04 13:43:20 -0600 | received badge | ● Necromancer (source) |
2014-11-04 13:34:15 -0600 | answered a question | Build opencv_contrib sample executables on Linux I solved it. It was a silly mistake. I was setting up But my working directory was " |
2014-11-04 13:32:24 -0600 | asked a question | OpenCV Python cv2.BackgroundSubtractor parameters SummaryIt seems like changing the parametes of BackgroundSubtractorMOG doesn't affect the results of the algorithm. I'm usign Python: 2.7.6 |Anaconda 2.1.0 (64-bit) The default parameters for the algorithm are: So, creating the background subtractor with different parameters should give different results. But I always get the same result (foreground mask) with default parameters and with custom parameters. Reproducing the problemFirst, Create two background subtractor objects with different parameters: Create 2 "VideoCaptrue" objects: Test the results: After running that block of code for some frames, the window shows results from the first background subtractor, results from the second and the difference of the two. Because both masks are the same, the result of their difference (the third pane) is a full black frame: Then, suddenly change the source of the video (the second VideoCapture object): And after running that block of code for some frames you get: The two foreground masks look the same, and that's why the third pane is a full black frame. But after running the last block of code for more than 3 frames the results of the second pane should become blacker again (because of the AlternativesI have also tried modifying their parameters with: But I get the same results. And I always get the paremeters I did "set" (e.g.): Is there anything I'm missing? |
2014-09-29 10:16:22 -0600 | received badge | ● Supporter (source) |
2014-09-23 18:42:58 -0600 | asked a question | Build opencv_contrib sample executables on Linux System: VM Ubuntu 14.04 x64 Summary: I was trying to follow this tutorial about the tracking API: http://docs.opencv.org/trunk/modules/tracking/doc/tracking.html Somewhere it says: To see how API works, try tracker demo: https://github.com/lenlen/opencv/blob/tracking_api/samples/cpp/tracker.cpp But that's a forked old repository (by user lenlen), not the official repository. In the recent versions (with the new repos) it seems like that file is not in that location anymore but in: https://github.com/Itseez/opencv_contrib/blob/master/modules/tracking/samples/tracker.cpp The problem: I'm being able to build OpenCV without errors, but I can't see how to build that executable file from opencv_contrib, or where is it getting located. I've tried:
Thanks in advance! |