## HyperLPR3-License Plate Recognition Android SDK
[中文文档](README_CH.md)
High performance license plate recognition based on deep learning HyperLPR Android SDK implementation.
### Source Code Project
If you need to learn about the build steps in the source code of the project, you can go : [HyperLPR](https://github.com/szad670401/HyperLPR).
### Supporting Platform
- Android: arm64-v8a、armeabi-v7a
### Add Dependency
Add Jitpack dependencies to your Gradle configuration
```java
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
```
Add dependencies in build.gradle for projects where you need hyperlpr
```java
dependencies {
implementation 'com.github.HyperInspire:hyperlpr3-android-sdk:1.0.3'
}
```
### How to Use
#### Initialize HyperLPR
Before implementing the license plate recognition algorithm, the initialization function needs to be executed, and the storage read and write permissions need to be opened in advance. Initialization is performed only once, usually when the program is started.
```Java
// License plate recognition algorithm configuration parameters
HyperLPRParameter parameter = new HyperLPRParameter()
.setDetLevel(HyperLPR3.DETECT_LEVEL_LOW)
.setMaxNum(1)
.setRecConfidenceThreshold(0.85f);
// Initialization (performed only once)
HyperLPR3.getInstance().init(this, parameter);
```
#### License plate recognition on an image
Bitmap is used as an example for license plate recognition
```Java
// Use Bitmap as picture parameter for license plate recognition
Plate[] plates = HyperLPR3.getInstance().plateRecognition(bitmap, HyperLPR3.CAMERA_ROTATION_0, HyperLPR3.STREAM_BGRA);
for (Plate plate: plates) {
// Print the detected license plate number
Log.i(TAG, plate.getCode());
}
```
#### License plate recognition on an steam
License plate recognition using camera stream or file stream
```Java
// License plate recognition using a stream of NV21
Plate[] plates = HyperLPR3.getInstance().plateRecognition(data, previewSize.height, previewSize.width, HyperLPR3.CAMERA_ROTATION_270, HyperLPR3.STREAM_YUV_NV21);
```
#### Note
The Android-SDK of hyperlpr is currently in the testing phase. If you encounter any problems during use, please raise your questions in issues. PR welcome.
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
基于hyperlpr3的android车牌识别源码+项目说明.zip (70个子文件)
code
gradle.properties 1KB
gradle
wrapper
gradle-wrapper.jar 58KB
gradle-wrapper.properties 238B
app
src
androidTest
java
com
hyperai
hyperlpr_sdk_demo
ExampleInstrumentedTest.java 797B
test
java
com
hyperai
hyperlpr_sdk_demo
ExampleUnitTest.java 406B
main
java
com
hyperai
hyperlpr_sdk_demo
CameraActivity.java 3KB
CameraPreviews.java 8KB
MainActivity.java 7KB
res
mipmap-xxhdpi
logo.png 73KB
ic_launcher_round.webp 6KB
ic_launcher.webp 3KB
mipmap-hdpi
ic_launcher_round.webp 3KB
ic_launcher.webp 1KB
drawable-v24
ic_launcher_foreground.xml 2KB
mipmap-anydpi-v26
ic_launcher.xml 276B
ic_launcher_round.xml 276B
values-night
themes.xml 854B
mipmap-mdpi
ic_launcher_round.webp 2KB
ic_launcher.webp 982B
mipmap-xxxhdpi
ic_launcher_round.webp 8KB
ic_launcher.webp 4KB
mipmap-xhdpi
ic_launcher_round.webp 4KB
ic_launcher.webp 2KB
values
colors.xml 387B
strings.xml 77B
themes.xml 854B
layout
activity_main.xml 2KB
activity_camera.xml 843B
drawable
ic_launcher_background.xml 6KB
AndroidManifest.xml 3KB
proguard-rules.pro 770B
build.gradle 1KB
release
output-metadata.json 402B
hyperlpr3-demo.apk 14.97MB
.gitignore 6B
gradlew.bat 3KB
hyperlpr3
src
androidTest
java
com
hyperai
hyperlpr3
ExampleInstrumentedTest.java 786B
test
java
com
hyperai
hyperlpr3
ExampleUnitTest.java 398B
main
assets
r2_mobile
b640x_head_h.mnn 1.08MB
b640x_backbone_h.mnn 950KB
rpv3_mdict_160h.mnn 4.29MB
litemodel_cls_96xh.mnn 800KB
b320_header_h.mnn 326KB
b320_backbone_h.mnn 950KB
java
com
hyperai
hyperlpr3
HyperLPR3.java 3KB
api
APIDefine.java 1KB
utils
SDKUtils.java 5KB
core
HyperLPRCore.java 2KB
bean
HyperLPRParameter.java 2KB
Plate.java 2KB
settings
SDKConfig.java 135B
TypeDefine.java 2KB
AndroidManifest.xml 161B
proguard-rules.pro 770B
libs
armeabi-v7a
libhyperlpr3.so 8.53MB
arm64-v8a
libhyperlpr3.so 12MB
build.gradle 2KB
consumer-rules.pro 0B
.gitignore 6B
build.gradle 474B
.idea
.name 17B
vcs.xml 172B
misc.xml 402B
compiler.xml 174B
gradle.xml 821B
.gitignore 50B
settings.gradle 368B
gradlew 6KB
README.md 2KB
README_CH.md 2KB
共 70 条
- 1
资源评论
熬夜写代码的平头哥
- 粉丝: 3500
- 资源: 7321
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- tomcat安装及配置教程.md
- 51单片机贴片心形灯原理图PCB程序 亚克力外壳.dwg资料
- 户型为单家独院式图纸编号D068-三层-20.60&13.40米-施工图.dwg
- 农村小别墅图纸编号D067-三层-10.00&11.50米- 施工图.dwg
- 三层独栋别墅图纸编号D066-三层-12.00&12.00米- 施工图.dwg
- 农村小别墅图纸编号D065-三层-14.40&18.55米-施工图.dwg
- 基于YOLOv8检测高铁吊弦缺陷实现的系统的Python源码+文档说明+训练源文件+模型.zip
- 三层农村小别墅图纸编号D064-三层-13.80&22.20米-施工图.dwg
- 三层别墅图纸编号D063-三层-13.57&17.40米- 施工图.dwg
- STC IAP15F2K61S2单片机i2c 接口PCF8591-ADC实验+DAC实验 KEIL例程源码+开发板硬件原理图
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功