2019-04-26 04:08:23 -0600 | received badge | ● Popular Question (source) |
2016-10-24 16:54:48 -0600 | received badge | ● Teacher (source) |
2016-10-24 16:54:44 -0600 | received badge | ● Student (source) |
2016-10-24 14:58:40 -0600 | received badge | ● Self-Learner (source) |
2016-10-24 14:03:20 -0600 | received badge | ● Editor (source) |
2016-10-24 13:58:29 -0600 | answered a question | Python cv2.BackgroundSubtractorMOG2 history parameter doesn't work In order for the the history parameter to be used, the If you explicitly set the learningRate to a value between 0 and 1 on each call to Replacing the |
2016-10-24 13:53:27 -0600 | commented question | Python cv2.BackgroundSubtractorMOG2 history parameter doesn't work I have 200 images. However, I don't think the number of images was the issue. I'll post the solution. |
2016-10-20 13:28:31 -0600 | commented question | What is the history parameter in BackgroundSubtractorMOG2? Did you find an answer? I'm having a problem with this in opencv 2.4.11 for python. Changing the history value doesn't seem to work. |
2016-10-20 13:25:48 -0600 | received badge | ● Supporter (source) |
2016-10-20 13:14:23 -0600 | asked a question | Python cv2.BackgroundSubtractorMOG2 history parameter doesn't work I'm using opencv 2.4.11 with python 2.7.12. The BackgroundSubtractorMOG2 works (i.e. background subtraction results are ok), but I wanted to tune the parameters. However, changing the history parameter is not showing any changes the in the background subtraction results. Here is the code snippet: I've also tried setting the history using the Has anyone else had this problem or know what's going on? |
2016-10-20 13:02:47 -0600 | commented answer | OpenCV Python cv2.BackgroundSubtractor parameters I can set the learning rate, but setting the history doesn't appear to work. Have you encountered this or any idea what might be causing this? |
2016-08-26 11:35:37 -0600 | asked a question | opencv 2.4.11 BackgroundSubtractorMOG2 problems with background and foreground I'm having problems getting BackgroundSubtractorMOG2 to work. I'm using: 1) OpenCV 2.4.11 (x64) 2) Visual Studio 2010 Here are 2 problems I'm experiencing: 1) The foreground (e.g. fgMask) and background (e.g. bgImg) don't seem correct. The background image is identical to the current image (e.g. frame), and the foreground image looks like it might only have been computed from a single frame. 2) When I include the line mog2.set("detectShadows",false); the fgMask output is all white (i.e. 255). Sample Code: |