{"id":14958985,"url":"https://github.com/getcontrol/kyc-train-model","last_synced_at":"2025-09-17T19:03:49.592Z","repository":{"id":39730286,"uuid":"244440828","full_name":"getcontrol/KYC-train-model","owner":"getcontrol","description":"Train TensorFlow model for KYC","archived":false,"fork":false,"pushed_at":"2022-12-08T03:43:35.000Z","size":66493,"stargazers_count":32,"open_issues_count":11,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-31T03:01:33.782Z","etag":null,"topics":["kyc","midv-500","python","tensorflow","tensorflow-examples","tensorflow-models"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/getcontrol.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-02T18:09:52.000Z","updated_at":"2024-12-16T16:13:14.000Z","dependencies_parsed_at":"2023-01-24T09:45:51.757Z","dependency_job_id":null,"html_url":"https://github.com/getcontrol/KYC-train-model","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getcontrol%2FKYC-train-model","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getcontrol%2FKYC-train-model/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getcontrol%2FKYC-train-model/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getcontrol%2FKYC-train-model/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/getcontrol","download_url":"https://codeload.github.com/getcontrol/KYC-train-model/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237999541,"owners_count":19399903,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["kyc","midv-500","python","tensorflow","tensorflow-examples","tensorflow-models"],"created_at":"2024-09-24T13:18:38.266Z","updated_at":"2025-09-17T19:03:44.553Z","avatar_url":"https://github.com/getcontrol.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Train Tensorflow Model for Tensorflow Verification\n\nThis repo contains the Python code to produce the dataset and train the Tensorflow model for use in [KYC-tensorflow](https://github.com/getcontrol/KYC-tensorflow). This training model transfers learning from a previously trained model mobilenet_v2.\n\n# Installation Instructions\n\n1. Clone the repo.\n\n``` git clone https://github.com/getcontrol/KYC-train-model ```\n\n``` cd KYC-train-model```\n\n2. Download and unzip the the MIDV-500 formatted dataset to 'verification-train-model' directory.\n\nhttps://www.dropbox.com/s/dmjbat0e1re5rkf/midv_500.zip?dl=0\n\n3. Make a 'data' directory in verification-train-model for the dataset generation and an 'output' folder for testing.\n\n```mkdir data```\n\n```mkdir output```\n\n4. Create and activate a Python 3 Virtual environment.\n\n```python3 -m venv env```\n\n```source env/bin/activate```\n\n5. Install Requirements.\n\n```pip install -r requirements.txt```\n\n6. Synthesize training data.\n\n```python synthesis_data.py```\n\n```python receipt_dataset.py```\n\n7. Train model.\n\n```python train.py```\n\n# Test Model\n\nSamples are included in 'test_samples_600*800'.\n\n```python test.py```\n\n![Results](https://github.com/getcontrol/KYC-train-model/blob/master/model-result.png)\n\n\n### Citation\nPlease cite this paper, if using midv dataset, link for dataset provided in paper\n\n    @article{DBLP:journals/corr/abs-1807-05786,\n      author    = {Vladimir V. Arlazarov and\n                   Konstantin Bulatov and\n                   Timofey S. Chernov and\n                   Vladimir L. Arlazarov},\n      title     = {{MIDV-500:} {A} Dataset for Identity Documents Analysis and Recognition\n                   on Mobile Devices in Video Stream},\n      journal   = {CoRR},\n      volume    = {abs/1807.05786},\n      year      = {2018},\n      url       = {http://arxiv.org/abs/1807.05786},\n      archivePrefix = {arXiv},\n      eprint    = {1807.05786},\n      timestamp = {Mon, 13 Aug 2018 16:46:35 +0200},\n      biburl    = {https://dblp.org/rec/bib/journals/corr/abs-1807-05786},\n      bibsource = {dblp computer science bibliography, https://dblp.org}\n    }\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetcontrol%2Fkyc-train-model","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgetcontrol%2Fkyc-train-model","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetcontrol%2Fkyc-train-model/lists"}