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:

  1. 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.
  2. Data preparation: Prepare the dataset required by your model, for example, images required by an image detection model.
  3. 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.
  4. 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.
  5. Model conversion: Refer to Model Conversion and Tuning to convert the model to an .om file.
  6. Application build and running: Refer to Building and Running an Application Project to build and run the application.