Skip to main content

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


pip install midv500


# import package
import midv500

# set directory for dataset to be downloaded
dataset_dir = 'data/midv500/'

# download and unzip midv500 dataset

# 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.

Files for midv500, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size midv500-0.1.2-py3-none-any.whl (7.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size midv500-0.1.2.tar.gz (6.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page