|
1 | | -# Automatic-License-Plate-Recognition-iOS |
| 1 | +<p align="center"> |
| 2 | + <a href="https://play.google.com/store/apps/dev?id=7086930298279250852" target="_blank"> |
| 3 | + <img alt="" src="https://github-production-user-asset-6210df.s3.amazonaws.com/125717930/246971879-8ce757c3-90dc-438d-807f-3f3d29ddc064.png" width=500/> |
| 4 | + </a> |
| 5 | +</p> |
| 6 | + |
| 7 | +### Our facial recognition algorithm is globally top-ranked by NIST in the FRVT 1:1 leaderboards. <span><img src="https://github.com/kby-ai/.github/assets/125717930/bcf351c5-8b7a-496e-a8f9-c236eb8ad59e" alt="badge" width="36" height="20"></span> |
| 8 | +[Latest NIST FRVT evaluation report 2024-12-20](https://pages.nist.gov/frvt/html/frvt11.html) |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | +#### 🆔 ID Document Liveness Detection - Linux - [Here](https://web.kby-ai.com) <span><img src="https://github.com/kby-ai/.github/assets/125717930/bcf351c5-8b7a-496e-a8f9-c236eb8ad59e" alt="badge" width="36" height="20"></span> |
| 13 | +#### 🤗 Hugging Face - [Here](https://huggingface.co/kby-ai) |
| 14 | +#### 📚 Product & Resources - [Here](https://github.com/kby-ai/Product) |
| 15 | +#### 🛟 Help Center - [Here](https://docs.kby-ai.com) |
| 16 | +#### 💼 KYC Verification Demo - [Here](https://github.com/kby-ai/KYC-Verification-Demo-Android) |
| 17 | +#### 🙋♀️ Docker Hub - [Here](https://hub.docker.com/u/kbyai) |
| 18 | + |
| 19 | +# Automatic-License-Plate-Recognition-iOS |
| 20 | + |
| 21 | +## Overview |
| 22 | + |
| 23 | +We implemented `ANPR/ALPR(Automatic Number/License Plate Recognition)` engine with unmatched accuracy and precision by applying SOTA(State-of-the-art) deep learning techniques in this repository. </br> |
| 24 | + |
| 25 | +KBY-AI's `LPR` solutions utilizes artificial intelligence and machine learning to greatly surpass legacy solutions. Now, in real-time, users can receive a vehicle's plate number. |
| 26 | + |
| 27 | +The `ALPR` system consists of the following steps: |
| 28 | +- Vehicle image capture |
| 29 | +- Preprocessing |
| 30 | +- Vehicle detection |
| 31 | +- Number plate extraction |
| 32 | +- Charater segmentation |
| 33 | +- Optical Character Recognition(OCR) </br> |
| 34 | + |
| 35 | +The `ALPR` system works in these strides, the initial step is the location of the vehicle and capturing a vehicle image of front or back perspective of the vehicle, the second step is the localization of Number Plate and then extraction of vehicle Number Plate is an image. The final stride uses image segmentation strategy, for the segmentation a few techniques neural network, mathematical morphology, color analysis and histogram analysis. Segmentation is for individual character recognition. Optical Character Recognition (OCR) is one of the strategies to perceive the every character with the assistance of database stored for separate alphanumeric character. |
| 36 | + |
| 37 | +### ◾License Plate Recognition SDK Product List |
| 38 | + | No. | Repository | SDK Details | Status | |
| 39 | + |------------------|------------------|------------------|------------------| |
| 40 | + | 1 | [LPR - Linux](https://github.com/kby-ai/Automatic-License-Plate-Recognition-Docker) | License Plate Recognition Linux SDK | Available | |
| 41 | + | 2 | [LPR - Docker](https://hub.docker.com/r/kbyai/license-plate-recognition) | License Plate Recognition Docker Image | Available | |
| 42 | + | 3 | [LPR - Flutter](https://github.com/kby-ai/Automatic-License-Plate-Recognition-Flutter) | License Plate Recognition Flutter SDK | Available | |
| 43 | + | 4 | [LPR - C#](https://github.com/kby-ai/Automatic-License-Plate-Recognition-CSharp-.NET) | License Plate Recognition C# SDK | Available | |
| 44 | + | 5 | [LPR - Android](https://github.com/kby-ai/Automatic-License-Plate-Recognition-Android) | License Plate Recognition Android SDK | Available | |
| 45 | + | ➡️ | <b>[LPR - iOS](https://github.com/kby-ai/Automatic-License-Plate-Recognition-iOS)</b> | <b>License Plate Recognition iOS SDK</b> | <b>Available</b> | |
| 46 | + |
| 47 | +> To get more products, please visit products [here](https://github.com/kby-ai):<br/> |
| 48 | +
|
| 49 | +## Screenshots |
| 50 | +<p float="left"> |
| 51 | + <img src="https://github.com/user-attachments/assets/d19998a8-9b94-47dd-86f5-a206e430d4cf" width=200/> |
| 52 | + <img src="https://github.com/user-attachments/assets/34be1181-fe83-4be0-b955-7c174961410b" width=200/> |
| 53 | + <img src="https://github.com/user-attachments/assets/4d17e31e-d1e0-492a-98bd-c34ed68c3a6a" width=200/> |
| 54 | +</p> |
| 55 | + |
| 56 | +<p float="left"> |
| 57 | + <img src="https://github.com/user-attachments/assets/dc819a46-cdc7-4459-aca1-f94da8e1a14e" width=200/> |
| 58 | + <img src="https://github.com/user-attachments/assets/84f89d18-9c34-465e-a855-8c2b4467ce69" width=200/> |
| 59 | + <img src="https://github.com/user-attachments/assets/23645cc7-2f79-4deb-becd-2d88cb32c983" width=200/> |
| 60 | +</p> |
| 61 | + |
| 62 | +## Performance Video |
| 63 | +You can visit our `YouTube` video for `ANPR/ALPR` model's performance [here](https://www.youtube.com/watch?v=sLBYxgMdXlA) to see how well our demo app works.</br></br> |
| 64 | +[](https://www.youtube.com/watch?v=sLBYxgMdXlA)</br> |
| 65 | + |
| 66 | +## SDK License |
| 67 | +- The code line below shows how to update `SDK` with the `license key`: https://github.com/kby-ai/Automatic-License-Plate-Recognition-Android/blob/059b471d20d3392880ace352770f2fd4d43ff515/app/src/main/java/com/kbyai/alpr/MainActivity.kt#L42-L49 |
| 68 | +- To request `license key`, please contact us:</br> |
| 69 | +🧙`Email:` contact@kby-ai.com</br> |
| 70 | +🧙`Telegram:` [@kbyaisupport](https://t.me/kbyaisupport)</br> |
| 71 | +🧙`WhatsApp:` [+19092802609](https://wa.me/+19092802609)</br> |
| 72 | +🧙`Discord:` [KBY-AI](https://discord.gg/CgHtWQ3k9T)</br> |
| 73 | +🧙`Teams:` [KBY-AI](https://teams.live.com/l/invite/FBAYGB1-IlXkuQM3AY)</br> |
| 74 | + |
| 75 | +## About SDK |
| 76 | + |
| 77 | +### 1. Set up |
| 78 | +#### 1.1 Setting Up `ALPR` SDK |
| 79 | + > Android |
| 80 | + - Copy the SDK(folder `libttvalpr`) to `root` folder in your `Android` project. |
| 81 | + - Add SDK to the project in `settings.gradle`. |
| 82 | + ```bash |
| 83 | + include ':libttvalpr' |
| 84 | + ``` |
| 85 | +#### 1.2 Add dependency to your `build.gradle`. |
| 86 | + ```bash |
| 87 | + implementation project(path: ':libttvalpr') |
| 88 | + ``` |
| 89 | + |
| 90 | +### 2 API Usages |
| 91 | + - Activate the `SDK` by calling the `setActivation` method: |
| 92 | + ```kotlin |
| 93 | + var ret = AlprSdk.setActivation("xxx...") |
| 94 | + ``` |
| 95 | + - Extract plates using the `extractPlates` method: |
| 96 | + ```kotlin |
| 97 | + val alprResult: AlprResult = AlprSdk.process( |
| 98 | + SDK_IMAGE_TYPE.ULTALPR_SDK_IMAGE_TYPE_RGBA32, |
| 99 | + nativeBuffer, width.toLong(), height.toLong() |
| 100 | + ) |
| 101 | + val plates = AlprUtils.extractPlates(alprResult); |
| 102 | + ``` |
0 commit comments