Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 1.13 KB

README.md

File metadata and controls

26 lines (19 loc) · 1.13 KB

OpenCV_acqPlatform_Tango

Simple app to save an timestamped stream of imaged and timestamped IMU sensor reads.

This app is based in the OpenCV4Android example Tutorial 3 - Camera Control.

The application saves time stamped images and timestamped sensor events. The sensors that the application logs (if available in the device) are:

  • ACCELEROMETER
  • LINEAR_ACCELERATION
  • GRAVITY
  • GYROSCOPE
  • GEOMAGNETIC_ROTATION_VECTOR
  • ROTATION_VECTOR
  • GAME_ROTATION_VECTOR
  • MAGNETIC_FIELD

This version logs also the translation and orientation estimated by Tango Motion Tracking.

Images are stored as jpg files and include two timestamps (for data synchronization) the acquisition time and the time when the application was launched. Both numbers are defined in the image name:

img_[acquisition system time, ns]_[app launching system time, ns].[XXX image file extension]

The app offers an options menu where the focus mode and the image resolution can be configured.

Issues

  • The Options Menu is created in the code but this method has been deprecated.
  • OpenCV class JavaCameraView works with the android.hardware.Camera that has been also deprecated.