Let’s look at it this way:
The rpicam app is a C++ application optimized for the RPi5, resulting in lower CPU load. It efficiently uses the Hailo8L and Hailo library. In contrast, the detection.py script is a GStreamer and Python-based example, which naturally has a heavier CPU load and runs slightly slower due to Python’s nature. However, this Python script offers more features and is easier to adapt for real-world applications.
1 Like