Ask Your Question

TJ's profile - activity

2015-04-07 00:00:28 -0600 received badge  Enthusiast
2015-03-23 05:41:47 -0600 received badge  Necromancer (source)
2015-03-23 04:28:48 -0600 received badge  Editor (source)
2015-03-23 04:11:12 -0600 answered a question I can't call the video that is stored in my laptop using VideoCapture() method of opencv.

instead of

'C:\Users\Anjali\Documents\Python_Files\Video_tracking\slow.mp4'

use

'C:\\Users\\Anjali\\Documents\\Python_Files\\Video_tracking\\slow.mp4'

use double slashes

2015-03-05 04:34:06 -0600 commented question Background subtraction problem

my project is summarize videos.

as my task is to detect foreground and background of frames in video.

with the help of your code this task was completed.

i am getting error

VideoCapture cap =cap.open("Sherlock outtakes.avi");
    bool update_bg_model = true;

instead of

VideoCapture cap;
    bool update_bg_model = true;

    cap.open(0);

but i am getting error "Unhandled exception at 0x00007FFAD94DCBE9 (opencv_highgui249d.dll) in dynamic.exe: 0xC0000005: Access violation reading location 0x0000000000000018" and the program breaks.

can you help me in this.

2015-03-05 04:22:49 -0600 commented question Background subtraction problem

hey hunter,

thank you so much your code helped me a lot. i am looking for the same code, i think you are using gaussian mixture model.

2015-03-05 04:10:54 -0600 received badge  Supporter (source)