Himax WiseEye2 Module and ISM Devboard

WiseEyeâ„¢ seamlessly integrates the Himax proprietary ultralow power AI processors, always-on CMOS image sensors, and advanced CNN-based AI algorithms, revolutionizing battery-powered, on-device vision AI applications. With power consumption of just a few milliwatts, WiseEyeâ„¢ targets battery-powered endpoint AI device markets to drive AI for everyday life. Such devices typically demand extended battery life to minimize maintenance and enhance usability. WiseEyeâ„¢ delivers intuitive and intelligent user interactions, making advanced AI sensing possible even in power-constrained environments. By bringing advanced, user-friendly AI capabilities, WiseEyeâ„¢ sets a new standard for endpoint AI, offering unmatched performance and extended operational lifetimes.

Quick links access:

Installing dependencies

Preparing your Windows environment for the Himax WiseEye2 ISM Devboard

To set this board up in Edge Impulse, you will need to install the following software:

  1. Start with an x64-based Windows image and install git

  2. Clone the Himax WiseEye-Module-G1 SDK:

    git clone https://github.com/HimaxWiseEyePlus/Himax-WiseEye-Module-G1-SDK/
  3. Follow the SDK setup instructions to setup and prepare the Himax WiseEye-Module-G1 SDK for use.

  4. Follow the setup instructions EVK and PC Tool User Guide to setup and prepare the WE2_DEMO_TOOL for flashing.

  5. Now that your Himax WiseEye2 ISM Devboard is ready and you've configured the WE2_DEMO_TOOL, lets proceed to install the Edge Impulse dependencies (you will typically do this on a Linux or MacOS platform). This will be to RUN the Edge Impulse model once its flashed using the Windows platform.

Installing Edge Impulse dependencies (MacOS/Linux)

To set this board up in Edge Impulse, you will need to install the following software - typically on a linux or macos based system.

Please install the "edge-impulse-cli" package. Full documentation on installing the edge impulse CLI can be found here: Edge Impulse CLI

**Note:** Make sure that you have the CLI tools version **at least 1.27.1**. You can check it with:

edge-impulse-daemon --version

Next, we head to the Edge Impulse Studio to build our ML "impulse".

Next steps: building a machine learning model

First, lets build and run our first machine learning model with these tutorials:

Image models

For the Himax WiseEye2 ISM Devboard, you will choose "Himax ISM" for the Target type in Edge Impulse. When performing the "Deployment" step, please also select and choose the "Himax ISM" platform as the deployment platform target. You will also need to ensure that you create your impulse/model with "Int8 Profiling" enabled. You will need to select the "Quantized int8" checkbox when you perform the model deployment.

Utilizing the ISM Devboard for data capture

You can utilize the Himax WiseEye2 ISM Devboard itself to help with image capturing/data collection for your project by connecting your ISM Devboard to your development platform and then run the "edge-impulse-daemon" as follows (this can be done on Linux/MacOS or Windows if you have the "edge-impulse-cli" package installed):

edge-impulse-daemon --clean

When launched, you will be prompted to log into your Edge Impulse account, select a project, select the associated USB port that the ISM Devboard is connected to, and finally give the device a name. You can then look in your Edge Impulse "Devices" tab to see the device by going to your Edge Impulse project, and click Devices. The device will be listed here:

[Device connected to Edge Impulse]

You can then select your device, within Edge Impulse Studio, to use the camera/sensors to capture data for your project's data.

Deploying back to device

When the deployment is complete, you will receive a zip file that will contain two files:

  • firmware.img - the OTA image you will use to publish to your ISM Devboard via the "ota.exe" tool you reviewed above.

  • readme.txt - text file will a link to this page to to review the steps if needed.

We'll take the "firmware.img" file and proceed to the next step

Flash the ISM Devboard to install the Edge Impulse model and its runtime

You will next run the WE_DEMO_TOOL on Windows:

[WE2_DEMO_TOOL]

Select "Burn Flash", then next we press "Select File" to select the directory and file where we have placed our Edge Impulse contents (namely firmware.img and readme.txt from above). Select that directory and the "firmware.img" file:

[EI Firmware Selected]

We then press the "Start" button and allow the flashing process to complete:

[Flashing Process]

You can now disconnect the board and proceed to the Linux/MacOS platform to run the model in the next step.

Running the Model on the ISM Devboard (MacOS/Linux)

To run the model on your ISM Devboard now that the flashing has finished, you plug in the board via USB and then run the following in a bash shell:

edge-impulse-run-impulse --clean

After logging in and selecting the appropriate USB port that represents your board, You will now see your model's inference output displayed as data is entered (images captured/etc...)

[Device Running Model]

Alternatively, you can connect directly to the USB serial port and then directly interact with the AT command interpreter that is running the Edge Impulse model:

[Edge Impulse AT Command Interpreter]

Last updated

Was this helpful?