Installing the Custom Inference Service Package
Run the following commands to install the custom inference service package:
python3 scripts/install_custom_scene_files.py --custom_scene=scripts/scene_def/sample_scene/custom_scene/sample_scene.py --runtime=scripts/scene_def/sample_scene/runtime/sample_detection.py
Processes:
- Copy sample_scene/custom_scene/sample_scene.py to mxAOIService/scripts/scene_def.
- Copy sample_scene/runtime/sample_detection.py to mxAOIService/service/scene.
- Write the configuration information mxAOIService/config/scene_config.yaml of the custom scenarios. The configured dynamic scenarios in this file will be loaded to the inference service to provide the inference function.
View the content of the scene_config.yaml file:
dynamic_scene_list: [sample_detection/DetectionInferScene]
Parent topic: Sample Description