# ncnn-android-yolov8n-smile-detector
基于yolov8n定制的笑脸检测模型,能检测两类脸部表情(笑脸与非笑脸。)支持动态输入尺寸。
320x320输入尺寸下,在50cm以内有较理想的检测和分类精度。
可通过适当提高输入尺寸,提升分类精度。
The yolov8 object detection
This is a sample ncnn android project, it depends on ncnn library and opencv
https://github.com/Tencent/ncnn
https://github.com/nihui/opencv-mobile
## how to build and run
### step1
https://github.com/Tencent/ncnn/releases
* Download ncnn-YYYYMMDD-android-vulkan.zip or build ncnn for android yourself
* Extract ncnn-YYYYMMDD-android-vulkan.zip into **app/src/main/jni** and change the **ncnn_DIR** path to yours in **app/src/main/jni/CMakeLists.txt**
### step2
https://github.com/nihui/opencv-mobile
* Download opencv-mobile-XYZ-android.zip
* Extract opencv-mobile-XYZ-android.zip into **app/src/main/jni** and change the **OpenCV_DIR** path to yours in **app/src/main/jni/CMakeLists.txt**
### step3
* Open this project with Android Studio, build it and enjoy!
## some notes
* Android ndk camera is used for best efficiency
* Crash may happen on very old devices for lacking HAL3 camera interface
* All models are manually modified to accept dynamic input shape
* Most small models run slower on GPU than on CPU, this is common
* FPS may be lower in dark environment because of longer camera exposure time
## Reference:
https://github.com/nihui/ncnn-android-nanodet
https://github.com/Tencent/ncnn
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
基于YOLOV8N(v8.2).11)笑脸检测模型的ncnn安卓部署demo_ncnn-android-yolov8n-smile-detector.zip (24个子文件)
基于yolov8n(v8.2.11)笑脸检测模型的ncnn安卓部署demo_ncnn-android-yolov8n-smile-detector
项目内附说明
如果解压失败请用ara软件解压.txt 42B
ncnn-android-yolov8n-smile-detector-main
gradle
wrapper
gradle-wrapper.jar 58KB
gradle-wrapper.properties 230B
app
src
main
jni
CMakeLists.txt 448B
ndkcamera.cpp 24KB
yolo.h 2KB
yolo.cpp 14KB
ndkcamera.h 2KB
yolov8ncnn.cpp 6KB
assets
yolov8n-emo-new-500-two-opt.param 29KB
yolov8n-emo-new-500-two-opt.bin 5.84MB
yolov8s_emo-opt.bin 21.34MB
yolov8s_emo-opt.param 29KB
java
com
tencent
yolov8ncnn
Yolov8Ncnn.java 1KB
MainActivity.java 5KB
res
values
strings.xml 308B
layout
main.xml 1KB
AndroidManifest.xml 801B
build.gradle 483B
gradlew.bat 3KB
build.gradle 388B
settings.gradle 15B
gradlew 8KB
README.md 2KB
共 24 条
- 1
资源评论
普通网友
- 粉丝: 1127
- 资源: 5293
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- (源码)基于 JavaWeb 的超市收银系统.zip
- (源码)基于Vue和Cordova的移动端在线选座购票系统.zip
- (源码)基于C++的simpleDB数据库管理系统.zip
- (源码)基于Arduino的RTOSMMESGU实时操作系统项目.zip
- (源码)基于STM32和TensorFlow Lite框架的微语音识别系统.zip
- (源码)基于C#的支付系统集成SDK.zip
- (源码)基于Spring Cloud和Spring Boot的微服务架构管理系统.zip
- (源码)基于物联网的自动化开门控制系统 iotsaDoorOpener.zip
- (源码)基于ROS的Buddy Robot舞蹈控制系统.zip
- (源码)基于Qt框架的图书管理系统.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功