RepoBaidu (ERNIE)Baidu (ERNIE)published Aug 21, 2019seen 5d

PaddlePaddle/Paddle-Lite-Demo

C++

Open original ↗

Captured source

source ↗
published Aug 21, 2019seen 5dcaptured 8hhttp 200method plain

PaddlePaddle/Paddle-Lite-Demo

Description: lib, demo, model, data

Language: C++

License: Apache-2.0

Stars: 797

Forks: 305

Open issues: 27

Created: 2019-08-21T05:40:51Z

Pushed: 2025-09-17T06:05:56Z

Default branch: develop

Fork: no

Archived: no

README:

Paddle-Lite-Demo

Paddle-Lite 提供了多个应用场景的 demo,并支持 Android、iOS 和 ArmLinux 三个平台:

  • 图像分类
  • 基于 mobilenet_v1 模型
  • [Android 示例](./image_classification/android/)
  • [iOS 示例](./image_classification/ios/)
  • [ArmLinux 示例](./image_classification/armlinux/)
  • 目标检测
  • 基于 ssd_mobilenetv1 模型
  • [Android 示例](./object_detection/android/app/cxx/ssd_mobilenetv1_detection_demo/)
  • [iOS 示例](./object_detection/ios/ssd_mobilenetv1_demo/)
  • 基于 yolov3_mobilenet_v3 模型
  • [Android 示例](./object_detection/android/app/cxx/yolo_detection_demo/)
  • [iOS 示例](./object_detection/ios/yolov3_mobilenet_v3_demo/)
  • 基于 yolov5 模型
  • [Android 示例](./object_detection/android/app/cxx/yolov5n_detection_demo/)
  • iOS 示例
  • 基于 pp_picodet 模型
  • [Android 示例](./object_detection/android/app/cxx/picodet_detection_demo/)
  • [iOS 示例](./object_detection/ios/picodet_demo/)
  • 文字识别
  • 基于 pp_ocr_detpp_ocr_recpp_ocr_cls 模型
  • [Android 示例](./ocr/android/)
  • [iOS 示例](./ocr/ios/)
  • 人脸检测
  • 基于 face-detection 模型
  • [Android 示例](./face_detection/android/)
  • [iOS 示例](./face_detection/ios/face_detection/)
  • 人脸关键点检测
  • 基于 face-detectionface-keypoint 模型
  • [Android 示例](./face_keypoints_detection/android/)
  • [iOS 示例](./face_keypoints_detection/ios/face_keypoints_detection)
  • 姿态检测
  • 基于 pp_tinypose 模型
  • [ArmLinux 示例](./pose_detection/linux/)
  • 口罩识别
  • 基于 pyramidbox + mask_detect 模型
  • [Android 示例](./mask_detection/android/)
  • 人像分割
  • 基于 DeeplabV3 模型
  • [Android 示例](./human_segmentation/android/)
  • [iOS 示例](./human_segmentation/ios/human_segmentation)
  • PP 识图
  • 基于 PPLCNet 两个模型模型
  • [Android 示例](./PP_shitu/android/)
  • [iOS 示例](./PP_shitu/ios/PPshitu)

关于 Paddle-Lite 更多示例,请参考如下文档链接:

要求

  • iOS
  • macOS+Xcode,已验证的环境:Xcode Version 11.5 (11E608c) on macOS Catalina(10.15.5)
  • Xcode 11.3会报"Invalid bitcode version ..."的编译错误,请将Xcode升级到11.4及以上的版本后重新编译
  • 对于ios 12.x版本,如果提示“xxx. which may not be supported by this version of Xcode”,请下载对应的[工具包]( https://github.com/iGhibli/iOS-DeviceSupport), 下载完成后解压放到/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport目录,重启xcode
  • Android
  • Android Studio 4.2;
  • adb调试工具;
  • Android手机或开发版;
  • 华为手机支持NPU的 Demo(NPU的功能暂时只在nova5、mate30和mate30 5G上进行了测试,用户可自行尝试其它搭载了麒麟810和990芯片的华为手机(如nova5i pro、mate30 pro、荣耀v30,mate40或p40,且需要将系统更新到最新版)
  • ARMLinux
  • RK3399(Ubuntu 18.04) 或 树莓派3B(Raspbian Buster with desktop),暂时验证了这两个软、硬件环境,其它平台用户可自行尝试;
  • 支持树莓派 3B 摄像头采集图像,具体参考[树莓派…

Excerpt shown — open the source for the full document.