The IMX500 GUI Tool is a user-friendly graphical interface designed to interact with the IMX500 Intelligent Vision Sensor. It allows users to deploy a custom network and visualize the output of the chosen model superposed to the camera preview.
Before you begin, ensure you have Node.js installed on your system. You can download and install it from nodejs.org.
To verify your Node.js installation, run the following command in your terminal:
node --version
Navigate to the project directory and build the project by running:
make build
To start the GUI Tool, run the following shell script:
./dist/run.sh
After starting it, open your web browser and go to http://127.0.0.1:3001 to access the GUI Tool.
- Click on the
ADD
button located at the top right corner of the interface. - Provide the necessary details to add a custom network.
- Upload the
network.rpk
file, and the (optional)labels.txt
file.
As an example: Here are some available models from the Model Zoo.
Network Name | Network Type | Post Processor | Color Format | Preserve Aspect Ratio | Network File | Labels File |
---|---|---|---|---|---|---|
mobilenet_v2 | packaged | pp_cls | RGB | True | network.rpk | imagenet_labels.txt |
efficientdet_lite0_pp | packaged | pp_od_efficientdet_lite0 | RGB | True | network.rpk | coco_labels.txt |
deeplabv3plus | packaged | pp_segment | RGB | False | network.rpk | - |
- Choose one of your added networks and in the left sidebar, click on Camera preview.
- Observe the model in action through the camera preview interface!
-
Set up the environment:
make setup
-
Start the application components:
Before starting the different components make sure to create a.env
-file in the root of this repository and provide the following variables.SERVER_HOST=0.0.0.0 SERVER_PORT=3001 LOG_LEVEL=info REACT_APP_BACKEND_HOST=http://0.0.0.0:3001
Afterwards you are ready to start the following components:
- Frontend (in one terminal)
make frontend
- Backend (in another terminal)
make backend
- Client (in a third terminal)
make client
-
Check code quality:
make lint
-
Clean up the environment:
make clean
Please read the Site Policy of GitHub and understand the usage conditions.