GUI environment
AI SDK has a CUI environment and a GUI environment.
For the GUI environment, see AI Navigator Quick Start Guide.
Introduction
Getting Started Flow
Getting Started explains the instruction to run AI Applications.
Common instructions are explained in this document.
Board dependent instructions are explained in each EVK Getting Started page.
Software
Renesas provides following software.
Software
Provided on
Details
AI Applications
GitHub
This software is a set of following files that runs on the evaluation board kit.
Application Source code (C++)
Pre-build application binary
Other necessary files to run the application
Documentation (README.md)
"Getting Started" page (this page) explains how to run the AI Applications.
RZ/V AI SDK
Renesas Website
This software is a development environment for AI Applications.
Provided as a zip file.
"Getting Started" page (this page) explains how to use RZ/V AI SDK to run the AI Applications.
Following items are included in the RZ/V2L Evaluation Board Kit.
Equipment
Details
RZ/V2L Evaluation Board
Evaluation board itself.
MIPI Camera Module
Google Coral Camera.
Note that the CMOS sensor (OV5645) in the camera is no longer available, and should not be used for mass production. Any software support provided is for evaluation purposes only.
MicroUSB to Serial Cable
For serial communication between PC and the board.
Step 2: Obtain necessary environment
1. Necessary Equipments
Please prepare the following equipments for your EVK.
For
Equipment
Details
RZ/V2L
RZ/V2L EVK
Evaluation Board Kit for RZ/V2L. Includes followings.
MIPI Camera Module(Google Coral Camera)
Note that the CMOS sensor (OV5645) in the camera is no longer available, and should not be used for mass production.
Any software support provided is for evaluation purposes only.
MicroUSB to Serial Cable for serial communication.
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 eMMC 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.
e-CAM22_CURZH camera supports FHD(1920x1080) resolution.
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 4GB 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.
Note
USB camera has different supported resolution and format.
To check the specification of your USB camera, use v4l2-ctl command.
In addition to the RZ/V2L Evaluation Board Kit, please prepare the following equipments.
NoteSerial to MicroUSB Cable and MIPI Camera Module (Google Coral camera) is included in RZ/V2L Evaluation Board Kit.
Equipment
Details
HDMI Monitor
Used to display the graphics.
Micro HDMI Cable
Used to connect the HDMI Monitor and the board.
AC adapter
Power supply to the board.
USB Cable Type-C
Connect AC adapter and the board.
microSD card
Must have over 4GB capacity of blank space. Operating Environment: Transcend UHS-I microSD 300S 16GB
Linux PC
Used for Setup microSD card and RZ/V2L AI SDK Setup.
Operating Environment: Ubuntu 20.04
SD card reader
Used for setting up microSD card.
Windows PC
Optional. Used as the serial communication console for eMMC Bootloader.
Operating Environment : Windows 10
Create new directory to be mounted on Docker container.
Create docker container. Here, <rzv2l/rzv2h>_ai_sdk_container is a name of docker container, which can be changed by user.
For RZ/V2L
For RZ/V2H
The local $(pwd)/data is mounted to /drp-ai_tvm/data on the Docker container by the above command option.
For example, you can use this directory to copy files created on the Docker container to your local environment.
In docker container, run the following command to copy libtvm_runtime.so, which is the necessary file for the board, to host machine.
To exit docker, run following commands.
To start the docker container again, run the following command.
You have finished the RZ/V AI SDK environment setup.
You are ready to build the AI applications!
Note
Following procedures are for users who would like to build the application from the source code.
If you would like to run the application as quickly as possible, you can skip this step and proceed to the next step (Step 7: Deploy AI Application) since pre-build application binary is provided.
This repository only contains AI Applications for RZ/V2L EVK.
It does not provide instructions for RZ/V AI SDK.
Please refer to the instruction provided in this page.
Check the README.md document provided in application directory and follow the instruction in the chapter called "Application: Build Stage" (or similar) to build the application.
Example:
In R01_object_detection application, follow the instruction here to generate the following application binary.
object_detection
Note
The git clone command shown in the README.md will download the latest source code and related files.
To download the files of AI Applications v3.00, please specify the version tag by adding -b v3.00 when you running the git clone command as shown below.
After you generated the application binary, please proceed to Step 7
Option 2: For <Application 2>
Run (or start) docker container.
Example:
Run the following command to start the docker container created in Step 5.
Change the environment variable to use the cross compiler.
Note
This command needs to be called everytime user opened the new terminal.
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. How to Build RZ/V2L AI SDK
How can I build RZ/V2L AI SDK Source Code?