When delivering an SoC AI vision project, the most common pitfalls are often not the model itself, but three things: the deployment package, configuration parameters, and the reproduction environment. Many times, the algorithm runs perfectly on a PC but hits all sorts of issues once it goes on the board. The root cause is usually that these aspects were not clearly documented during delivery. Based on practical experience, let's discuss what a qualified deliverable should include.
First, the deployment package. The deployment package is not simply throwing a ".bin" file and calling it done. It should be a self-contained folder that includes at least: the model files (including weights and a description of the network structure, along with any quantized versions if available), inference code or an executable program, necessary dependency libraries (such as OpenCV, NumPy, and the inference runtime), and a documentation file. In the documentation, you should clearly state the model's input and output format (dimensions, channel order, normalization method), compilation or conversion steps (such as converting ONNX to RKNN or quantization), and how to launch inference on the SoC. Additionally, if the model has been pruned or distilled, the structural differences between the original and the pruned model should be explained, otherwise subsequent maintenance becomes nearly impossible.
Next, the configuration parameters. Many projects end up with "best" parameters that were discovered through trial and error during debugging. If they are not written down, they are lost when someone else takes over or the environment changes. Configuration parameters should include: model-related parameters (such as detection threshold, NMS threshold, number of classes, input resolution), camera or sensor parameters (such as ISP settings, exposure time, gain range, lens distortion coefficients), runtime parameters (such as thread count, memory allocation strategy, frame rate limits), and recommended values for different scenarios. It is best to provide them in a configuration file (JSON or YAML) with the package, and explain the purpose and adjustment range of each parameter in the documentation. This way, customers or algorithm engineers can get it running directly with the recommended values and fine-tune it later based on the actual scenario.
Finally, the reproduction environment. Reproducing is not just "it works on my computer". It means locking down the versions of the entire software and hardware chain. On the hardware side, you need to specify the SoC model, development board version, and peripherals (such as camera model and connection interface). On the software side, include the operating system and kernel version, compiler version, inference SDK version, Python/C++ environment, and the exact version numbers of all third-party libraries. It is best to provide an environment installation script or Docker image (if supported), along with a verification script. Use a fixed set of test images or videos, and after running, the outputs should match the expected results to consider reproduction successful. A reproduction environment without verification data is meaningless. At minimum, it should include some typical scenario data, even raw frames captured on the spot and their corresponding annotation results.
In summary, the essence of delivery is to let the person taking over continue working without needing to do "archaeology". The deployment package solves "what is there", the configuration parameters solve "how to tune it", and the reproduction environment solves "it can definitely run". When these three are done solidly, the project truly closes the loop, and future issues can be traced and debugged. Otherwise, you just disappear after delivery, and a few months later even you won't understand the parameters and code from back then. This is being responsible both to the customer and to yourself.
