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.

teaser

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

midv500-0.1.1.tar.gz (6.8 kB view hashes)

Uploaded Source

Built Distribution

midv500-0.1.1-py3-none-any.whl (7.8 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