Code Monkey home page Code Monkey logo

camera2video_gyro_capture's Introduction

Android app to capture original gyro and video data.

  • This app is based on "old" Android Camera2Video Sample app
  • But you can capture both of video and IMU data at the same time.

Environments

  • Android stuido 3.1
  • android-ndk-r17c

Output files

  • 'yyyymmdd_hhmmss.mp4' : non-stabilized video data
  • 'yyyymmdd_hhmmss_gyro.csv' : timeStamp, gyrox, gyroy, gyroz
  • 'yyyymmdd_hhmmss_frame.csv' : timeStamp, frame index, exposure

misc

  • アプリ側でストレージも許可する必要アリ
  • mi9の場合だと、データ保存先は PC\MI 9\内部共有ストレージ\Pictures\Recorder
  • camera2videoにonSensorChangedを追記しただけではジャイロを取得できない。sensorMangerを書かないといけない
  • このままではNDKが使われてないと思ってたが、bundleのNDKではエラーが出たので外部のndkを指定した
  • buildして...INVALID-APKというエラーが出た場合、clean projectして再ビルドする

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.