Android中的人体部位检测

dee*_*ode 10 api android face-detection android-camera

目前我正在研究谷歌人脸检测API,API我能够检测到人类完整的脸(眼睛,鼻子和其他部位),并且根据这个概念,我已经开发了一个应用程序,如果你站在前脸摄像头前面那么它会检测到你的脸并显示一些手势.

Context context = Applications.getAppContext();

FaceDetector detector = new FaceDetector.Builder(context)
            .setClassificationType(FaceDetector.ALL_CLASSIFICATIONS)
            .build();

detector.setProcessor(
         new MultiProcessor.Builder<>(new GraphicFaceTrackerFactory())
         .build());

if (!detector.isOperational()) {

}

mCameraSource = new CameraSource.Builder(context, detector)
            .setRequestedPreviewSize(640, 480)
            .setFacing(CameraSource.CAMERA_FACING_FRONT)
            .setRequestedFps(30.0f)
            .build();
Run Code Online (Sandbox Code Playgroud)

到目前为止我开发的应用视频链接: -

https://www.dropbox.com/s/097todfu90ic12j/VirtualMirror.mp4?dl=0

应用程序游戏商店链接: -

https://play.google.com/store/apps/details?id=com.twins.virtualmirror

有没有可用的API,我们可以识别人类的其他身体部位(胸部,手部,腿部和身体的其他部位),因为根据Google的愿景,API它只能检测人的面部而不是其他部位.

APP*_*ird 2

2021 年更新

您可以训练卷积神经网络来检测身体的任何部位。我建议你从头开始学习机器学习,但是如果你没有时间。您可以使用谷歌自动毫升

旧答案

目前还没有用于检测其他身体部位的 API。如果你想检测身体的其他部位,你必须编码,这并不容易,但也不是不可能