Using an SDK Sample Project
MindStudio provides sample projects developed based on MindX SDKs. You can create one as follows:
Figure 1 Process of creating a MindX SDK sample project
The description of each step is as follows:
- Environment setup: Refer to Before You Start and Installing a MindX SDK Software Package to configure environment variables and install the MindX SDK software package.
- Data preparation: Prepare the dataset required by your model, for example, images required by an image detection model.
- Sample project code obtaining and importing: Refer to Creating a Sample Project to obtain the required sample project under MindX SDK Samples from Gitee, and refer to Importing an Application Project to import it to MindStudio.
- Model obtaining: Obtain the required model by referring to the readme file of the sample project on Gitee and upload it to the environment. For more models, visit the ModelZoo.
- Model conversion: Refer to Model Conversion and Tuning to convert the model to an .om file.
- Application build and running: Refer to Building and Running an Application Project to build and run the application.
Parent topic: Developing an Application Based on MindX SDKs