{"id":15132131,"url":"https://github.com/cizodevahm/number-plate-detection","last_synced_at":"2026-01-19T12:33:31.164Z","repository":{"id":255175357,"uuid":"848767584","full_name":"cizodevahm/Number-Plate-Detection","owner":"cizodevahm","description":"This repository contains Python scripts for detecting and recognizing number plates using Support Vector Machines (SVM) and Block Binary Pixel Sum descriptors.","archived":false,"fork":false,"pushed_at":"2024-08-28T11:40:29.000Z","size":150,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T21:16:43.075Z","etag":null,"topics":["numberplatedetection","opencv","svm-classifier"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cizodevahm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"publiccode":null,"codemeta":null}},"created_at":"2024-08-28T11:23:07.000Z","updated_at":"2024-08-28T11:57:22.000Z","dependencies_parsed_at":"2024-08-28T13:10:42.118Z","dependency_job_id":null,"html_url":"https://github.com/cizodevahm/Number-Plate-Detection","commit_stats":null,"previous_names":["cizodevahm/number-plate-detection"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cizodevahm%2FNumber-Plate-Detection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cizodevahm%2FNumber-Plate-Detection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cizodevahm%2FNumber-Plate-Detection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cizodevahm%2FNumber-Plate-Detection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cizodevahm","download_url":"https://codeload.github.com/cizodevahm/Number-Plate-Detection/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247399884,"owners_count":20932880,"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":["numberplatedetection","opencv","svm-classifier"],"created_at":"2024-09-26T04:03:58.565Z","updated_at":"2026-01-19T12:33:31.146Z","avatar_url":"https://github.com/cizodevahm.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Number-Plate-Detection\nThis repository contains Python scripts for detecting and recognizing number plates using Support Vector Machines (SVM) and Block Binary Pixel Sum descriptors.\n\n# Overview\nThe project consists of two main scripts:\n 1. ```train_simple.py```: Trains classifiers for alphabet characters and digits using a dataset of font images.\n 2. ```recognize.py```: Uses the trained classifiers to detect and recognize characters in number plates from images.\n\n# Features\n- Font Image Processing: Converts font images to grayscale and applies thresholding.\n- Contour Detection: Identifies and sorts contours in the images.\n- Feature Extraction: Uses Block Binary Pixel Sum descriptors to extract features from the regions \n  of interest (ROIs).\n- Model Training: Trains SVM classifiers for both alphabet characters and digits.\n- Model Serialization: Saves the trained models to disk for later use.\n- Number Plate Detection: Detects number plates in images using the trained classifiers.\n- Character Recognition: Recognizes and displays characters from detected number plates.\n\n# Installation\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/cizodevahm/Number-Plate-Detection.git\n   ```\n2. Navigate to the project directory:\n   ```bash\n   cd Number-Plate-Detection\n   ```\n   \n# Usage\nTraining the Model\n 1. Prepare your fonts dataset and place it in a directory.\n 2. Run the training script:\n    ```bash\n    python train_simple.py --fonts path/to/fonts --char-classifier output/char_classifier.cpickle --digit-classifier output/digit_classifier.cpickle\n    ```\n3. The trained models will be saved in the specified output paths.\nRecognizing Number Plates\n 1. Place your images in a directory.\n 2. Run the recognition script:\n    ```bash\n    python recognize.py --images path/to/images --char-classifier output/char_classifier.cpickle --digit-classifier output/digit_classifier.cpickle\n    ```\n3. The script will display the processed images with detected and recognized number plates.\n\n# License\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcizodevahm%2Fnumber-plate-detection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcizodevahm%2Fnumber-plate-detection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcizodevahm%2Fnumber-plate-detection/lists"}