Ask Your Question

FJofreA's profile - activity

2014-08-07 18:20:21 -0600 commented answer Get video FPS with VideoCapture

I think it´s because it is a frame-by-frame acquiring process, so the fps are 0 (-1 in my case). Therefore the question should be: what is the refresh rate? And I need the answer for that question! I think the CV_CAP_PROP_FPS works only while reading a video from a file…

2014-07-31 16:11:39 -0600 received badge  Editor (source)
2014-07-29 16:58:32 -0600 commented question How to set recording length

Thank you Ahmad!. Then my question should be: How do I do that?

2014-07-28 18:35:29 -0600 asked a question How to set recording length

Hi all, my name is Fernando and I am starting with both OpenCV and RPi (and programming!)

Is it possible (and how) to set the length of a recording? It could be in either seconds or in a certain amount of frames (i.e. record 100 frames at 15 fps)

In the same way, I am interested in some processing rather than recording the video to "watch" it later (I do not intend to make a film :-) ), therefore, it could be possible to put each frame's data in some kind of a "buffer" to allow me further analysis (I'd like to do it in real time, but I do not know hot to do that). Is that possible? or, should I record the video and then load it and analysis?

I am using a Raspberry Pi (with Raspbian) with a raspicam (and/or usb webcam) and OpenCV 2.4.2 in either C++ or Python.

PS: my main goal is to obtain some video at 15+ fps. Do some processing on it and then present the output. The processing is obtain the Green channel, sum up the pixel values of a ROI, filter them and then obtain spectra. My original plan was to do it in "real-time", but I am afraid the RPi is not powerful enough to do it, so I´ll do it online (or offline if recording>load>processing).

Thank you in advance!