The best solution for
starting your AI applications.
Provided by Renesas Electronics Corporation
This project is maintained by renesas-rz
Hosted on GitHub Pages — Theme by orderedlist
AI SDK is build for specific board.
Its version varies depending on the supported board.
Supported Board | Supported AI SDK |
---|---|
RZ/V2L Evaluation Board Kit | RZ/V2L AI SDK v5.00 |
RZ/V2H Evaluation Board Kit | RZ/V2H AI SDK v5.00 |
Learn more about the RZ/V series.
Please prepare the following equipments for your EVK.
For | Equipment | Details |
---|---|---|
RZ/V2L | RZ/V2L EVK |
Evaluation Board Kit for RZ/V2L. Includes followings.
|
AC Adapter | USB Power Delivery adapter for the board power supply. | |
MicroHDMI Cable |
Used to connect the HDMI Monitor and the board. RZ/V2L EVK has microHDMI port. |
|
USB Camera |
Optional. AI Applications support USB camera input. Supported resolution: 640x480 Supported format: 'YUYV' (YUYV 4:2:2) |
|
Windows PC |
Optional. Used as the serial communication console for QSPI Bootloader. Operating Environment : Windows 10 |
|
RZ/V2H | RZ/V2H EVK | Evaluation Board Kit for RZ/V2H. |
AC Adapter |
USB Power Delivery adapter for the board power supply. 100W is required. |
|
HDMI Cable |
Used to connect the HDMI Monitor and the board. RZ/V2H EVK has HDMI port. |
|
USB Camera |
Since RZ/V2H EVK does not include camera module, this will be the standard camera input source. Supported resolution: 640x480 Supported format: 'YUYV' (YUYV 4:2:2)
To use MIPI camera, please refer to e-CAM22_CURZH provided by e-con Systems.
|
|
Common | USB Cable Type-C | Connect AC adapter and the board. |
HDMI Monitor | Used to display the graphics of the board. | |
microSD card |
Must have over 16GB capacity of blank space. Operating Environment: Transcend UHS-I microSD 300S 16GB |
|
Linux PC |
Used for Setup microSD card and RZ/V AI SDK Setup. Operating Environment: Ubuntu 20.04 |
|
SD card reader | Used for setting up microSD card. | |
USB Hub | Used to connect USB Keyboard and USB Mouse to the board. | |
USB Keyboard | Used to type strings on the terminal of board. | |
USB Mouse | Used to operate the mouse on the screen of board. |
v4l2-ctl
command.
Please install following software on Linux PC.
RZ/V AI SDK provides following packages for each supported board.
For this Getting Started, please download "RZ/V AI SDK" for your preferred device from the link below.
Once downloaded, please check the Release Note included in the package.
This step explains how to extract the RZ/V AI SDK zip file.
mkdir -p ai_sdk_work
export WORK=<path to the working directory>/ai_sdk_work
cd ${WORK}
unzip <Path to the file>/RTK0EF0*.zip -d ${WORK}
ls ${WORK}/
ai_sdk_setup board_setup documents references r11an0*.pdf
This step explains how to setup the RZ/V AI SDK environment.
cd ${WORK}/ai_sdk_setup
docker build -t rzv2l_ai_sdk_image --build-arg SDK="/opt/poky/3.1.31" --build-arg PRODUCT="V2L" .
docker build -t rzv2h_ai_sdk_image --build-arg SDK="/opt/poky/3.1.31" --build-arg PRODUCT="V2H" .
mkdir ${WORK}/ai_sdk_setup/data
<rzv2l/rzv2h>_ai_sdk_container
is a name of docker container, which can be changed by user.
docker run -it --name rzv2l_ai_sdk_container -v $(pwd)/data:/drp-ai_tvm/data rzv2l_ai_sdk_image
docker run -it --name rzv2h_ai_sdk_container -v $(pwd)/data:/drp-ai_tvm/data rzv2h_ai_sdk_image
$(pwd)/data
is mounted to /drp-ai_tvm/data
on the Docker container by the above command option.libtvm_runtime.so
, which is the necessary file for the board, to host machine.cp /drp-ai_tvm/obj/build_runtime/${PRODUCT}/libtvm_runtime.so /drp-ai_tvm/data
exit
docker start -i <container_name, i.e., rzv2l_ai_sdk_container>
You have finished the RZ/V AI SDK environment setup.
You are ready to build the AI applications!
This step explains how to build AI application.
To see the overview about AI Applications, please refer to About AI Applications page.
In AI Applications, there are two types of applications.
Application | GitHub Repository | Details | Example |
---|---|---|---|
<Application 1> |
|
These repositories provide the complete instruction in each application documentation. |
R01_object_detection |
<Application 2> |
|
This repository only contains AI Applications for RZ/V2L EVK.
|
01_Head_count |
README.md
document provided in application directory and follow the instruction in the chapter called "Application: Build Stage" (or similar) to build the application.docker start -i rzv2l_ai_sdk_container
source /opt/poky/3.1.31/environment-setup-aarch64-poky-linux
cd /drp-ai_tvm/data
git clone https://github.com/Ignitarium-Renesas/RZV2L_AiLibrary
cd RZV2L_AiLibrary/01_Head_count/Head_count_cam
make
command.
make
RZV2L_AiLibrary/01_Head_count/
Head_count_cam/exe
.
Please see each EVK Getting Started Step 7 for detailed instructions.
After Step 7, users should have completed followings.
Please see each EVK Getting Started Step 8 for detailed instructions.
After Step 8, users should have completed followings.
You have experienced the AI Application development procedures.
Next step is to change the application to create your own AI Application.
You can use the applications listed in AI Applications to expand your ideas!
If you would like to customize Yocto Linux or develop your own board, please change and build the AI SDK Source Code based on your environment.
Please refer to How to Build AI SDK page shown below for more details.