Parking logger code
This can be used as an example of recording a video file from a camera with some overlayed data (sensors, etc.) using OpenCV for Java, or as an example of using TinyB library to connect to BLE devices in Java code.
Project is written using IntelliJ IDEA Community Edition.
This code needs Linux to run, because tinyb library makes use of Bluez API. Linux dependencies:
Clone this repository
$ git clone https://github.com/panovvv/parking-logger.git
$ git clone https://github.com/opencv/opencv.git $ cd opencv $ mkdir build $ cd build $ cmake-gui .. $ make $ sudo make install
Open this project in IntelliJ IDEA, adjusting library paths and native libraty paths if necessary (F4 - project properties)
Run Main class. Connect your camera and BLE adapter. You're ready to start logging!