https://github.com/cmdbug/ncnn-android
🌸 ncnn安卓c++层实现摄像头实时识别与显示
https://github.com/cmdbug/ncnn-android
android nanodet ncnn yolo
Last synced: about 1 year ago
JSON representation
🌸 ncnn安卓c++层实现摄像头实时识别与显示
- Host: GitHub
- URL: https://github.com/cmdbug/ncnn-android
- Owner: cmdbug
- License: gpl-3.0
- Created: 2024-08-03T01:14:51.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-03T01:56:42.000Z (almost 2 years ago)
- Last Synced: 2025-04-03T01:11:08.013Z (about 1 year ago)
- Topics: android, nanodet, ncnn, yolo
- Language: C++
- Homepage:
- Size: 85.8 MB
- Stars: 5
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
##
如果有帮助,点个star!
##
### 移动端 ncnn 部署,摄像头实时捕获视频流进行检测。
> Android
```
从界面中选择需要测试的模型。
```
轻量级OpenCV:[opencv-mobile](https://github.com/nihui/opencv-mobile)
需要在项目 jni 文件夹中新建 opencvmobile 与 ncnnvulkan 文件夹,自己增加 ncnnvulkan 的库与 opencv-mobile 的库,目录结构大概这样。
ncnn:
```
ncnnvulkan
├─arm64-v8a
│ ├─include
│ │ ├─glslang
│ │ │ ├─Include
│ │ │ ├─MachineIndependent
│ │ │ │ └─preprocessor
│ │ │ ├─Public
│ │ │ └─SPIRV
│ │ └─ncnn
│ └─lib
│ └─cmake
│ └─ncnn
├─armeabi-v7a
...
```
opencv-mobile:
```
opencvmobile
└─sdk
└─native
├─jni
│ ├─abi-arm64-v8a
│ ├─abi-armeabi-v7a
│ ├─abi-x86
│ ├─abi-x86_64
│ └─include
│ └─opencv2
│ ├─core
│ │ ├─cuda
│ │ │ └─detail
│ │ ├─detail
│ │ ├─hal
│ │ ├─opencl
│ │ │ └─runtime
│ │ │ └─autogenerated
│ │ ├─parallel
│ │ │ └─backend
│ │ └─utils
│ ├─features2d
│ │ └─hal
│ ├─highgui
│ ├─imgproc
│ │ ├─detail
│ │ └─hal
│ ├─photo
│ │ └─legacy
│ └─video
│ ├─detail
│ └─legacy
└─staticlibs
├─arm64-v8a
├─armeabi-v7a
├─x86
└─x86_64
```
:art: 截图

感谢:
- nihui
- FeiGeChuanShu
- https://github.com/Tencent/ncnn