app-ocr


Nameapp-ocr JSON
Version 1.2.14 PyPI version JSON
download
home_pagehttps://github.com/aihackervn
SummaryE-kyc for Industries application
upload_time2023-06-20 11:08:33
maintainer
docs_urlNone
authorTheodore
requires_python>=3.9
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # EKYC (OCR&FaceID) API 
<!-- [![My Skills](https://skills.thijs.gg/icons?i=python&theme=light)](https://skills.thijs.gg) -->
EKYC (OCR&FaceID) API is an API developed to provide Optical Character Recognition (OCR) and Face ID functionalities. The API supports the scanning of national ID cards, motorbike registration certificates, and EVN bills. It utilizes Makesense AI for labeling data, Yolov5 for text detection, and VietOCR for text recognition.

In addition to OCR, the API also provides Face ID functionality, including face detection, face recognition, and quality checks. It utilizes SCRFD for face detection, ArcFace for face recognition, and provides face liveness detection, face quality assessment, face mask detection, and closed eyes detection.

# Scanning Card Type 🚀

+ Type Support 
  + National ID card
  + MRC (Motorbike Registation Certificate) 
  + Passport
+ OCR Techniques: 
  + Makesense AI for labeling data
  + Yolov5 for Text Detection task 
  + VietOCR for Text Recognition task
# Face ID 🚀 

+ Face Detection & Face Recognition
  + SCRFD (Sample and Computation Redistribution for Efficient) for Face Detection
  + ArcFace (From InsightFace project with high accuracy in Face Recognition)
  + Check Quality techniques:
    + Face Liveness Detection 
    + Face Quality Assessment
    + Face Mask Detection 
    + Closed Eyes Detection 

# How to install
Install Python version: 3.8.10
Clone the project and create virtual enviroment by running these lines in terminal:
``
python -m venv venv
``

``
venv\Scripts\activate
``

Install requirements by running this line in terminal
``
pip install -r requirements.txt
``

If you are using windows run this to install dlib package
``
pip install 'app\config\dlib-19.19.0-cp38-cp38-win_amd64.whl'  
``
# How to use 🏆

+ For running API in Dev Environment :

``
  uvicorn just_scan_api:app --reload
``
and run on 
``
http://127.0.0.1:8000/docs
``

+ You have to convert your image from array -> base64 by using image to base64 (ex: https://codebeautify.org/image-to-base64-converter) and then paste your base64 string into input API for running 


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/aihackervn",
    "name": "app-ocr",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "",
    "keywords": "",
    "author": "Theodore",
    "author_email": "tinprocoder0908@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/20/d8/3fa5f9f7be56a5c2b9cf98977cde99cdc3f5bfd7d841c616d3f2864b98d7/app_ocr-1.2.14.tar.gz",
    "platform": null,
    "description": "# EKYC (OCR&FaceID) API \n<!-- [![My Skills](https://skills.thijs.gg/icons?i=python&theme=light)](https://skills.thijs.gg) -->\nEKYC (OCR&FaceID) API is an API developed to provide Optical Character Recognition (OCR) and Face ID functionalities. The API supports the scanning of national ID cards, motorbike registration certificates, and EVN bills. It utilizes Makesense AI for labeling data, Yolov5 for text detection, and VietOCR for text recognition.\n\nIn addition to OCR, the API also provides Face ID functionality, including face detection, face recognition, and quality checks. It utilizes SCRFD for face detection, ArcFace for face recognition, and provides face liveness detection, face quality assessment, face mask detection, and closed eyes detection.\n\n# Scanning Card Type \ud83d\ude80\n\n+ Type Support \n  + National ID card\n  + MRC (Motorbike Registation Certificate) \n  + Passport\n+ OCR Techniques: \n  + Makesense AI for labeling data\n  + Yolov5 for Text Detection task \n  + VietOCR for Text Recognition task\n# Face ID \ud83d\ude80 \n\n+ Face Detection & Face Recognition\n  + SCRFD (Sample and Computation Redistribution for Efficient) for Face Detection\n  + ArcFace (From InsightFace project with high accuracy in Face Recognition)\n  + Check Quality techniques:\n    + Face Liveness Detection \n    + Face Quality Assessment\n    + Face Mask Detection \n    + Closed Eyes Detection \n\n# How to install\nInstall Python version: 3.8.10\nClone the project and create virtual enviroment by running these lines in terminal:\n``\npython -m venv venv\n``\n\n``\nvenv\\Scripts\\activate\n``\n\nInstall requirements by running this line in terminal\n``\npip install -r requirements.txt\n``\n\nIf you are using windows run this to install dlib package\n``\npip install 'app\\config\\dlib-19.19.0-cp38-cp38-win_amd64.whl'  \n``\n# How to use \ud83c\udfc6\n\n+ For running API in Dev Environment :\n\n``\n  uvicorn just_scan_api:app --reload\n``\nand run on \n``\nhttp://127.0.0.1:8000/docs\n``\n\n+ You have to convert your image from array -> base64 by using image to base64 (ex: https://codebeautify.org/image-to-base64-converter) and then paste your base64 string into input API for running \n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "E-kyc for Industries application",
    "version": "1.2.14",
    "project_urls": {
        "Homepage": "https://github.com/aihackervn"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2a8c1f43c15be9ea41a0c8872a40541a45998422eee7580280d466e45e652975",
                "md5": "03764199bd02e74cf750845f390ba05f",
                "sha256": "eaa2f6a5969b0fe5a973be107480f5f7de02dc5df000ebb97c0b7156b03dadea"
            },
            "downloads": -1,
            "filename": "app_ocr-1.2.14-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "03764199bd02e74cf750845f390ba05f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 118632,
            "upload_time": "2023-06-20T11:08:30",
            "upload_time_iso_8601": "2023-06-20T11:08:30.618692Z",
            "url": "https://files.pythonhosted.org/packages/2a/8c/1f43c15be9ea41a0c8872a40541a45998422eee7580280d466e45e652975/app_ocr-1.2.14-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "20d83fa5f9f7be56a5c2b9cf98977cde99cdc3f5bfd7d841c616d3f2864b98d7",
                "md5": "4b14a9f00424f0329471230e608ec84b",
                "sha256": "1222c5829694c88d34c760a43f3ca4a579faa9ba0b49218ea10ee634ad18e102"
            },
            "downloads": -1,
            "filename": "app_ocr-1.2.14.tar.gz",
            "has_sig": false,
            "md5_digest": "4b14a9f00424f0329471230e608ec84b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 85367,
            "upload_time": "2023-06-20T11:08:33",
            "upload_time_iso_8601": "2023-06-20T11:08:33.191539Z",
            "url": "https://files.pythonhosted.org/packages/20/d8/3fa5f9f7be56a5c2b9cf98977cde99cdc3f5bfd7d841c616d3f2864b98d7/app_ocr-1.2.14.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-20 11:08:33",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "app-ocr"
}
        
Elapsed time: 0.09498s