Classify Static Image Using Deep Learning on Raspberry Pi
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
chan yeoung woo
am 3 Sep. 2021
Kommentiert: chan yeoung woo
am 16 Sep. 2021
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?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/728139/image.png)
0 Kommentare
Akzeptierte Antwort
Kanchan Jadhav
am 14 Sep. 2021
Bearbeitet: Kanchan Jadhav
am 14 Sep. 2021
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.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Raspberry Pi Hardware finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!