{"id":21622428,"url":"https://github.com/zafarrehan/licence_plate_detection","last_synced_at":"2026-05-01T21:33:31.131Z","repository":{"id":231157060,"uuid":"469084027","full_name":"zafarRehan/licence_plate_detection","owner":"zafarRehan","description":"This repository uses a custom trained model trained on SSDMobileNetV2 to detect licence plates in images","archived":false,"fork":false,"pushed_at":"2022-12-09T15:01:03.000Z","size":45839,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-26T20:30:00.437Z","etag":null,"topics":["object-detection","ssd-mobilenet","tensorflow2","transfer-learning"],"latest_commit_sha":null,"homepage":"","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/zafarRehan.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-03-12T13:02:00.000Z","updated_at":"2022-03-13T13:12:09.000Z","dependencies_parsed_at":"2024-04-02T19:10:10.489Z","dependency_job_id":null,"html_url":"https://github.com/zafarRehan/licence_plate_detection","commit_stats":null,"previous_names":["zafarrehan/licence_plate_detection"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zafarRehan/licence_plate_detection","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zafarRehan%2Flicence_plate_detection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zafarRehan%2Flicence_plate_detection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zafarRehan%2Flicence_plate_detection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zafarRehan%2Flicence_plate_detection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zafarRehan","download_url":"https://codeload.github.com/zafarRehan/licence_plate_detection/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zafarRehan%2Flicence_plate_detection/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32513700,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["object-detection","ssd-mobilenet","tensorflow2","transfer-learning"],"created_at":"2024-11-25T00:08:46.358Z","updated_at":"2026-05-01T21:33:31.100Z","avatar_url":"https://github.com/zafarRehan.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Licence Plate Detection\n\nThis repository uses custom-trained MobileNet-SSD V2 model for Object Detection to detect Licence plates in Images\n\nThis model will only detect one class of object i.e. Licence Plates \u003c/br\u003e\nThe explained training of the model can be found in my training repo here : https://github.com/zafarRehan/tensorflow_transfer_learning\n\n\u003ch2\u003eRequired Libraries\u003c/h2\u003e\n\n    pip install opencv-python\n    pip install numpy\n    pip install tensorflow\n    \n\u003c/br\u003e\n\n\u003ch2\u003eContents\u003c/h2\u003e\n\n\u003ch3\u003e1. exported-model:\u003c/h3\u003e \nThis folder contains the trained model that we got as the result from \u003ca src=\"https://github.com/zafarRehan/tensorflow_transfer_learning\"\u003etensorflow_transfer_learning\u003c/a\u003e\n\n\u003ch3\u003e2. models:\u003c/h3\u003e \nThis folder is the official Tensorflow's models library https://github.com/tensorflow/models which is needed for custom training a tensorflow model and in this case loading the custom trained model. This repo also has cool drawing functionalities which I used for drawing the bounding boxes over image.\n\n\u003ch3\u003e3. custom.pbtxt:\u003c/h3\u003e         \nThis file contains the class labels and is the same file used while training the model. \n\n\u003ch3\u003e4. detect.py:\u003c/h3\u003e       \nThe python file which consists the code to\u003c/br\u003e\n1. Load Model\u003c/br\u003e\n2. Detect Licences\u003c/br\u003e\n3. Draw the output over image \n\n\u003ch2\u003eRunning the code\u003c/h2\u003e\n1. In order to run the code you must have tensorflow 2.2 or above intalled \u003c/br\u003e\n2. Make sure to change your present working directory to \u003cb\u003epath to repo folder + licence_plate_detection/models/research\u003c/b\u003e\u003c/br\u003e\n3. Run the following code:\n    \n    \n    protoc object_detection/protos/*.proto --python_out=.\n    \n\u003c/br\u003e\n4. Change the BASE_PATH in line 10 of the code as guided in comment \u003c/br\u003e\n5. Proceed to run the code\n\n\u003c/br\u003e\u003c/br\u003e\n\nThe code is well-commented so more details can be found in comments\n\n\u003c/br\u003e\u003c/br\u003e\n\n\u003ch2\u003eInput Images\u003c/h2\u003e\n\u003cp\u003e\n\u003cimg src=\"/test1.jpg\" width=350\u003e  \u003cimg src=\"/test2.jpg\" width=350\u003e\n\u003c/p\u003e\n\n\u003c/br\u003e\u003c/br\u003e\n\n\u003ch2\u003eOutput Images\u003c/h2\u003e\n\u003cp\u003e\n\u003cimg src=\"/test1_output.jpg\" width=350\u003e  \u003cimg src=\"/test2_output.jpg\" width=350\u003e\n\u003c/p\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzafarrehan%2Flicence_plate_detection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzafarrehan%2Flicence_plate_detection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzafarrehan%2Flicence_plate_detection/lists"}