Ask Your Question

mabg's profile - activity

2017-10-24 07:04:49 -0600 received badge  Famous Question (source)
2016-07-27 06:33:52 -0600 received badge  Notable Question (source)
2015-11-29 11:22:21 -0600 received badge  Popular Question (source)
2013-08-12 02:14:29 -0600 commented answer Region of Interest in Video File

Thanks for the reply @Mathieu Barnachon BTW, what should be the value of my x,y, width, height Say my video frame is 640x360 then as the picture suggest, my desired region of interest is around 640x100. What do you mean by "cv::Mat roi = frame.clone(); // to avoid issue with the internal pointer"

2013-08-12 02:04:18 -0600 commented answer Region of Interest in Video File

Thanks for the reply @Haris Moonamkunnu BTW, what should be the value of my x,y, width, height

Say my video frame is 640x360 then as the picture suggest, my desired region of interest is around 640x100.

2013-08-12 01:03:28 -0600 asked a question Region of Interest in Video File

Hi to all,

This is my first time posting here and hoping for a positive result since my research is near its conclusion.

I want to add in my code a function that will process only the define region of interest of a video file.

image description

Storyboard:

Im making a program that will make the pedestrians and vehicles look that they are not in the scene/disappear by getting the running average of the videos frame. I already made that. Now my problem is I do want only the portion of the video that is under the region of interest to be processed because I want to preserve the Lighting/Illumination of the christmas lights while their blinking.

Why? I want to use this method to capture only the blinking lights this coming yuletide season without the disturbance of vehicle and people in the scene.

How can I do that? Getting a region of interest in a video file

Thanks in advance.