Download and convert MIDV-500 annotations to COCO instance segmentation format
Project description
Download and convert MIDV-500 dataset into COCO instance segmentation format
Automatically download/unzip MIDV-500 dataset and convert the annotations into COCO instance segmentation format.
Then, dataset can be directly used in the training of Yolact, Detectron type of models.
Package maintainer: Fatih Cagatay Akyon
MIDV-500 Dataset
MIDV-500 consists of 500 video clips for 50 different identity document types with ground truth which allows to perform research in a wide scope of various document analysis problems.
You can find more detail on: MIDV-500: A Dataset for Identity Documents Analysis and Recognition on Mobile Devices in Video Stream
Getting started
Installation
pip install midv500
Usage
# import package
import midv500
# set directory for dataset to be downloaded
dataset_dir = 'data/midv500/'
# download and unzip midv500 dataset
midv500.download_dataset(dataset_dir)
# set directory for coco annotations to be saved
export_dir = 'data/midv500/'
# convert midv500 annotations to coco format
midv500.convert_to_coco(dataset_dir, export_dir)
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file midv500-0.1.2.tar.gz.
File metadata
- Download URL: midv500-0.1.2.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86ed80742d25cbd409ac54eab0ec25fe3d8eb15da9b67a33569e6b58a7d5c40e
|
|
| MD5 |
d2db8d81861f65839b78fb6e82661517
|
|
| BLAKE2b-256 |
2af68bf98f43e1e27a3d8e3ba980e5c5c945e2c0750c71f194074f84dcf48e1d
|
File details
Details for the file midv500-0.1.2-py3-none-any.whl.
File metadata
- Download URL: midv500-0.1.2-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ff9bbb23703fe8f28ef52f2ea8931f82b02c9b0390d6659e662b430b8f17401
|
|
| MD5 |
5e0c4372930d698645741785b167a626
|
|
| BLAKE2b-256 |
15747f8c46a804d2d30607ebcac793b538c12bfe5dde140223f4ccfcf4ca70f0
|