Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Take a picture of some model with your camera. In the example below, you can see that the model (hand and fingers) is surrounded by a frame and the object name (person) is displayed.

...

Appendix

...

How to change preferences

This application has some preferneces which a user is able to change.
When changing some preferneces, push "AppPrefs" button in "ADAM OPERATION UI" html page.

Resoultion:
Resolution to get YUV images. Specfify HD(1280x720) or FHD(1920x1080).
However, by the ability of the camera, it may not work with the specified value.

Frame rate:
Frame rate to get YUV images. Specify 1 or more.
However, by the ability of the camera, it may not work with the specified value.

 

How to change AI model

  1. Please replace data/cnn/mobilenetv1_ssd_cavalry.bin and data/cnn/mobilenet_priorbox_fp32.bin with your model.

  2. Please change the following part of main.cpp according to your model.
    #define OUTSIZE_HEIGHT<Input height of your model>
    #define OUTSIZE_WIDTH<Input width of your model>

    #define NETNAME<File name of your model>
    #define LAYERNAMEIN"data"<Input layer name of your model>
    #define LAYERNAMEOUT_CONV59"conv59"<Output layer name of your model>
    #define LAYERNAMEOUT_CONV67"conv67"<Output layer name of your model>
    #define LAYERNAMEOUT_CONV75"conv75"<Output layer name of your model>
    #define PROPERTY_NUMCLASSES<Number of classes of your model>

  3. Please describe "names" (label-objectname matrix) according to your model.

Port in use

This application uses 8083 port for websocket communication.