CrazyRockets

Directory

Introduction

CrazyRockets uses the facial recognition and gesture recognition functions of Huawei ML Kit to move small rockets to avoid obstacles.

This demo demonstrates how to use HUAWEI ML Kit to quickly develop Crazy Rocket applications. The purpose is to experience facial recognition and gesture recognition, helping you integrate HUAWEI ML Kit as soon as possible.

More Scenarios

With the face recognition capability and gesture recognition capability provided by HUAWEI ML Kit, you can not only develop CrazyRockets applets, but also implement various functions, such as:

  1. Gesture capture.
  2. Smile capture.

Procedure

  • Preparations

    • Add the Huawei Maven repository to the build.gradle file in the root directory of the project.
    • Add build dependency on the SDK to the build.gradle file in the app directory.
    • Add the face detection model to the manifest.xml file of Android.
    • Apply for the camera permission in the manifest.xml file of Android.
  • Key steps of code development

    • Submit a dynamic permission application.
    • Create a skeleton analyzer.
    • Create a LensEngine.
    • Call the lensEngine.run(holder) method to perform CrazyRockets.

For details about the development procedure, see Crazy Rockets - How to Integrate Face Detection and Gesture Recognition with Huawei HMS ML Kit to Create a Hilarious Game.