Questions tagged [mog]

Mixture of Gaussians (MOG) is a computer vision technique used for modeling the background pixels of an image like mixture of Gaussians of different weight that represent the pixel intensity.

25 questions
0
votes
1 answer

Segmentation fault motion detection Opencv4tegra

I am trying to implement MoG algorithm on my Jetson TK1. I am using OpenCV4Tegra 2.4. The code is successfully compiled but when I try to execute it I get this error : segmentation fault Any help please Thanks in advance int…
KamalLagh
  • 25
  • 6
0
votes
0 answers

OpenCV MOG2 Background Subtraction strange result

When using the MOG2 bacground subtractor in OpenCV I am getting results that display parts of the background in foreground segmented regions of the output. I am processing a live camera feed. I am initialising with default paramaters and then…
Jack H
  • 2,440
  • 4
  • 40
  • 63
0
votes
1 answer

Not able to use background substractor module in opencv

I am trying to use background Substractor module in opencv. I am referring this blog. I am not able to use it because I again and again get the error message 'module' object has no attribute 'createBackgroundSubtractorMOG' , I have go-ogled through…
gsdf
  • 275
  • 1
  • 6
  • 13
0
votes
0 answers

OpenCV: Background subtraction 0xC0000005: Access violation writing locatio

I am new to opencv and I am trying to use BackgroundSubtractorMOG2. But, i have a problem with access violation (I could not find a solution for this anywhere). I am not sure, if the problem is with my code? Please help!! THE PROBLEM: Unhandled…
Pratul Jn
  • 69
  • 8
0
votes
0 answers

How to eliminate the so-called "ghost" pixels from the masks generated by mog algorithm?

when i run mog algorithm using visual studio, and processing image sequences and videos as well as streaming videos from camera some of the generated masks have ghost pixels that appear in all frames. I have tried to change the parameters of the…
Zakarya
  • 492
  • 1
  • 6
  • 14
0
votes
1 answer

Error : CV_8U in function initialize

I get an image from kinect using the ROS /camera/depth/image topic. This image encoding type is TYPE_32FC1. But I can't use this image. I want to do a background subtraction but I have an error as shown below: terminate called after throwing…
AylinCoskun
  • 3
  • 1
  • 3
0
votes
1 answer

Can't get foreground from MOG2

I am new to OpenCV/JavaCV and I am trying to implement MOG2 using JavaCV. However, I can't seem to get the foreground image. The background returns just fine. However, when I run apply() I do not get the foreground image. The code below is my…
Thomas
  • 103
  • 2
  • 13
0
votes
1 answer

weighting GMM components

How to decide each GMM Component Weight Regarding the Gaussian Mixture Model(GMM) for classification and clustering. the weight for each Gaussian component are arbitrarily set as an average of total numbers of components. This is conducted as a…
-1
votes
1 answer

MOG2 background substraction : Probability Density Function

Please, anybody can explain to me why on OpenCV MOG2 function for background substraction i can't found the implementation of Probability Density Function ? There is any trick on the proposed implementation ?
Rita
  • 1
  • 2
-1
votes
1 answer

How to minimize MOG using applescript

I am working on an AppleScript to toggle between minimize and maximize of specific windows. I have it working pretty well. But I am running into a specific issue with one application the MOG app for Mac does not seem to have a variable for…
BigHandsome
  • 4,843
  • 5
  • 23
  • 30
1
2