Classify Static Image Using Deep Learning on Raspberry Pi

조회 수: 3 (최근 30일)
chan yeoung woo
chan yeoung woo 2021년 9월 3일
댓글: chan yeoung woo 2021년 9월 16일
When I follow 'Classify Static Image Using Deep Learning on Raspberry Pi'example,
I don't understand this part of this example. i use R2021a
what is (To update the file manually, copy the generated main.cpp and main.h files to one level higher than the current level in the file hierarchy. Open the main.cpp file from the GENERATED CODE section of the code generation report and update the file by adding code at the points labeled in this code.) mean?

채택된 답변

Kanchan Jadhav
Kanchan Jadhav 2021년 9월 14일
편집: Kanchan Jadhav 2021년 9월 14일
Let me tell you a gist of the section Step 4: Edit C++ Main File to Accept Input from Command Line of Raspberry Pi
You need to modify the code in the main.cpp file. You can do this either manually by following the steps as shown in the image or you can use the premodified main.cpp file that is shipped with this example.
You can access the main.cpp file from these locations:
1. In the example, navigate to codegen > exe > raspi_fileRead_resnet > examples > main.cpp file.
2. In Code Generation Report, in the Generated Code section, you can view the main.cpp file.
After you have completed modifying the contents manually, copy the main.cpp and main.h files from the codegen > exe > raspi_fileRead_resnet > examples location and paste the files to codegen > exe > raspi_fileRead_resnet location.
  댓글 수: 1
chan yeoung woo
chan yeoung woo 2021년 9월 16일
thank you but i can't find premodified mian.cpp file
where is it? :(

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by