Giter Site home page Giter Site logo

euroc_generator's Introduction

EuRoC_Generator

Allows users to generate EuRoC MAV dataset

This script is used to generate a EuRoC MAV dataset using a video recording and sensor data obtained from the AndroSensor application.

Requirements

Python 3
opencv_python==4.7.0.68
pandas==1.5.2
Pillow==9.4.0

Inputs

The script takes two arguments:

The file path of the video recording The file path of the sensor data obtained from the AndroSensor application Output

The script generates a dataset that can be used for EuRoC MAV research.

Usage

To run the script, use the following command:

python Copy code python3 main.py 'video_file_path' 'Androsensor_file_path' Replace 'video_file_path' with the file path of your video recording and 'Androsensor_file_path' with the file path of the sensor data obtained from the AndroSensor application.

Steps

The script performs the following steps:

  1. Converts the AndroSensor data into a CSV file in appropriate format
  2. Extracts timestamps from the sensor data file
  3. Splits the video recording into frames based on the extracted timestamps
  4. Organizes the timestamp data
  5. Creates the EuRoC MAV dataset using a shell script

Note

The script assumes that the required dependencies (AndroSensorConverter, frameSplitter, and timestampOrganizer) are located in the 'androsnsor', 'frameSplitter/frameSplitter', and 'timestampOrganizer' directories, respectively. The script uses a shell script named 'createDataset.sh' to create the final dataset. The shell script must be located in the same directory as the main script.

I also want to thank Doğukan Terzi for his help and contribution.

euroc_generator's People

Contributors

dorukarslan avatar

Stargazers

 avatar

Watchers

 avatar

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.