Skip to main content

Useful converter of videos to SQL databases for Python

Project description

dataset2database


About

The package is made as a solution when using video inputs in Machine Learning models. As extracting and storing frames in .JPEG files will quickly increase the memory requirements and more importantly the number of inodes, the package provides a convenient alternative. Video frames are stored as blobs at database file .db which can be read as quickly as the .JPEG files but without the additional large memory requirements.


Dataset structure

The package assumes a fixed dataset structure such as:

<dataset>    
  │
  └──<class 1>
  │     │
  │     │─── <video_data_1.mp4>
  │     │─── <video_data_2.mp4>
  │     │─── ...
  │    ...      
  │
  └───<class 2>
  │      │
  │      │─── <video_data_1.mp4>
  │      │─── <video_data_2.mp4>
  │      │─── ...
 ...    ...


Installation through git

Please make sure, Git is installed in your machine:

$ sudo apt-get update
$ sudo apt-get install git
$ git clone https://github.com/alexandrosstergiou/dataset2database.git

Version history

6 April 2020 : Initial code created

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dataset2database-0.0.1.tar.gz (1.8 kB view hashes)

Uploaded Source

Built Distribution

dataset2database-0.0.1-py3-none-any.whl (14.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page