T
T
TheFdu42020-04-14 20:18:14
Arduino
TheFdu4, 2020-04-14 20:18:14

Get gyroscope and accelerometer data from action camera or video?

Is it possible to somehow get the gyroscope and accelerometer data from the mp4 video (filmed on an action camera with a gyroscope) or from the camera itself for further processing?
Or is it possible to somehow connect to the sensor itself on the board and take data in parallel using an arduino or a raspberry?
Or is it easier to make yourself a semblance of an action camera with your courtesans? Can you advise a camera and a piece of iron for it
?

Upd1:
You need a camera with good fps (~100) and FullHD or HD quality and synchronized data from the accelerometer and gyroscope, maybe something else is needed.

While raspberry + rpi camera v2. But there is not enough fps or quality - 720p 60fps. There is an option for usb cameras ( ov4689 or ov2710), but there are doubts that usb will pull 1080p 60fps (or 720p 120fps) data stream.

Upd2:
Yes, there was an idea to make a separate accelerometer and gyroscope sensor on arduino, but I don’t know how to synchronize video and sensor data (in time? How to synchronize time?).

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Pankov, 2020-04-14
@trapwalker

It seems to me that the simplest would be a separate compact autonomous gyro-tracker, to which an action camera would be attached.
It seems to be (I could be wrong), I have not heard that any camera could write accelerometer data to the video stream. It seems technically nothing prevents you from writing them, for example, as a separate audio track. Connecting to the guts of a working camera also seems like a dead number to me and, even if successful, not a scalable solution.
The question of the form factor is open, but the idea of ​​a gyrotracker is a very good idea.
Now almost all cameras on board have Wi-Fi. You can try to make a gyrotracker based on the ESP8266 protein with wifi. Time synchronization from the camera can be taken via wifi. You can even upload files with gyro tracks to the camera flash drive if the API allows.

L
LiteWeb, 2022-03-24
@LiteWeb

Good afternoon!
If relevant, there is an open-source program for video stabilization - GyroFlow, all source code is published on GitHub
Here is an article describing the program https://djilab.ru/gyroflow-rc2/
For some cameras, data is written to a video file. In the program code there is a receipt of this data.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question