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
Built Distribution
File details
Details for the file dataset2database-0.0.1.tar.gz
.
File metadata
- Download URL: dataset2database-0.0.1.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.21.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7d40cf817fbd43b02ffb67a96b5ec60c77f29d2aced9e651e928076f22db017 |
|
MD5 | 9ac97a73aad9e2ed36c71e368a746cf3 |
|
BLAKE2b-256 | f1949fb4a8ccf16fc54105cd07ba13e8a825caf7d282dba0298e5cbb525ba0eb |
File details
Details for the file dataset2database-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: dataset2database-0.0.1-py3-none-any.whl
- Upload date:
- Size: 14.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.21.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | efb5941718606095cb522ce7f943b901460a8389b9a2e2dcea5fdf1fb8783dd0 |
|
MD5 | 36b46090a0ecff6329d6e757388934e9 |
|
BLAKE2b-256 | f1b73f9a50ee733cb9d55209e8037db7b63f101daba3dae0c0d3b7ee6d5faeef |