Develop an inference application through process orchestration. For the development process, see Figure 1.
Key steps in each phase:
Call the service stream management API MxStreamManager to initialize a stream, load the service stream configuration file (*.pipeline), obtain the output data from the specified stream based on StreamName in the stream configuration file (see Service Integration), and destroy the stream.
Configure environment variables, prepare CMakeLists.txt, and perform compilation.
Execute the executable file generated after compilation and run and verify the application.
The C++ and Python directories in {Vision installation path}/samples/mxVision/ of the installation package contain process orchestration samples. For details about the execution procedure, see README.md in the corresponding directory. The compilation and execution script is run.sh in the corresponding directory. Before execution, change the CANN-related environment variables in the run.sh script to the actual CANN installation path.