No description or website provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
media
src
.gitignore
LICENSE
README.md
parking-logger.iml

README.md

Parking logger code

screenshot

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:

git
qt5-base
cmake
doxygen
bluez
bluez-utils

Preparations

  • Clone this repository

    $ git clone https://github.com/panovvv/parking-logger.git
    
  • Clone OpenCV and build it as described here:

    $ git clone https://github.com/opencv/opencv.git
    $ cd opencv
    $ mkdir build
    $ cd build
    $ cmake-gui ..
    $ make
    $ sudo make install
    
    
  • Clone TinyB and build it as described here:

  • 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!

Videolog sample (more in /media): Video log sample, GIF 30ish Mb