Giter VIP home page Giter VIP logo

Comments (3)

BillThePlatypus avatar BillThePlatypus commented on June 9, 2024 1

Thanks! That answers my questions. I should mention for future reference that this was done on a Pixel 4, which I believe has synchronized IMU / video.

from videoimucapture-android.

DavidGillsjo avatar DavidGillsjo commented on June 9, 2024

Thanks, I'm glad if it might be useful to someone else.

The frame numbers are zero indexed and I have not observed this issue myself. Though it is theoretically possible since there is no synchronization between the camera-, video- and proto-recording threads during start and stop of the recording. They are simply started/stopped in correct order. If I understand you correctly you are not loosing VideoFrameMetaData messages in the middle of the stream, so that is good.

You may assume the frame numbers to be correct. The protobuf writer receives messages from both the camera thread and the video encoder thread. The camera thread sends the image meta-data (including time stamp) and the encoder thread sends frame number of the video and time stamp of the image capture. So the protobuf writer pairs the image meta data with the video frame number according to the image capture timestamp.

I just updated data2rosbag.py to take missing frames into account. Please let me know if you find any other tool that assumes an equal amount of video frames and VideoFrameMetaData messages.

from videoimucapture-android.

BillThePlatypus avatar BillThePlatypus commented on June 9, 2024

Oops, close issue.

from videoimucapture-android.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.