-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Question: High speed motion vector output similiar to raspivid -x #7
Comments
I don’t think this is directly related. There may be SOME way to do what you want, but I don’t believe raspiraw has anything at all to do with motion vectors. It just reads bitmaps.
So you can’t use raspiraw I think, for this.
But it’s an interesting idea. Maybe the existing video code (not raspiraw) could be tweaked to increase framerate.
… 14 sep. 2022 kl. 09:37 skrev Flub ***@***.***>:
Hi, sorry that I ask my question here, in the issues, i did not find any other option.
I am actually searching for ways to get the motion_vectors of the pi camera with the smallest possible latency for an interactive art installation.
I already asked here: waveform80/picamera#725
I wonder if I can use this (fork-raspiraw) to modify one sensor modes framerate of either the pi camera v1 or v2 and then use picamera as an option to read the motion_vector data with the modified sensor mode?
How does it work? Does the Data stay in the register after modification with raspiraw command or do I have to run the command everytime after booting to get the modified framerate?
If I understood right it is also possible to just record every second line of the image to save data, would that help in getting the motion_vector / macroblock data as fast as possible?
I just bought a camera v2, is this gonna be better than the v1 version for this, or does it make no difference? I already build a housing for the v1 camera, thats why i am asking.
Thank you for any help, this project made my hope grow that it is possible to have nice realtime motion_detection for the art installation.
best,
Paul
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
|
Mh. I just read this from 2014 https://www.raspberrypi.com/news/vectors-from-coarse-motion-estimation/ |
I learned from 6by9 that motion vectors can only be retrieved with legacy camera stack at that time. Perhaps libcamera can as well. Definitely raspiraw cannot, it just captures raw frames. |
Hi, sorry that I ask my question here, in the issues, i did not find any other option.
I am actually searching for ways to get the motion_vectors of the pi camera with the smallest possible latency for an interactive art installation.
I already asked here: waveform80/picamera#725
I wonder if I can use this (fork-raspiraw) to modify one sensor modes framerate of either the pi camera v1 or v2 and then use picamera as an option to read the motion_vector data with the modified sensor mode?
How does it work? Does the Data stay in the register after modification with raspiraw command or do I have to run the command everytime after booting to get the modified framerate?
If I understood right it is also possible to just record every second line of the image to save data, would that help in getting the motion_vector / macroblock data as fast as possible?
I just bought a camera v2, is this gonna be better than the v1 version for this, or does it make no difference? I already build a housing for the v1 camera, thats why i am asking.
Thank you for any help, this project made my hope grow that it is possible to have nice realtime motion_detection for the art installation.
best,
Paul
The text was updated successfully, but these errors were encountered: