Welcome to ESP32 WiFi Camera Lite repository
2.Compile and use routine
Compile and use routine
1. Configure environment burning
Open the AI singleton source code provided by the document,

Put the above source code in the path of esp-ide,


In this way, we can modify the singleton code directly in this environment, or burn the singleton code.
For example, if we want to download cat and dog recognition, we click on the AI_Cat_Face_Detectiona folder to enter,

Then click on the esp32Board_wifi folder,

In this path, you can directly compile the code and directly cd in the tool To the current path,


At this time, enter the command to compile
idf.py build
When this interface appears, the compilation is successful,

If everything is normal, a .bin file will be generated after the compilation is completed.
Connect the device to the computer, and you can directly use the COM port to burn. Open the computer's device manager to check what port is recognized.

In the terminal, enter the following command to write the program in.
xxxxxxxxxxidf.py -p com14 flash

If the above log appears, the download is successful.
2. Modify the code
If you want to modify the code for secondary development, you can open the main folder,

The src folder and app_main.cpp are both programs that can be modified, one is equivalent to the main function, and the other is the source program called by the main function.

After the modification, repeat the above compilation steps. Burn after compilation.