Commit Graph

6 Commits

Author SHA1 Message Date
Tuomas Järvinen d4779b1bb0 - addedd NCNN model support to rtsp_ai_player
- added printing of inference FPS
- simple AI test bench which can be used to compare models
2024-10-02 19:15:49 +02:00
Tuomas Järvinen ef137fbc4b working yolo default model with opencv 2024-08-25 18:26:19 +03:00
Tuomas Järvinen be59a02f9b Add functionality to save inference images for the debugging purposes.
Save bmp images of inference results to /tmp as bmp files. BMP was
chosen to reduce encoding time. Saving is fully threaded. It can be
enable with qmake CONFIG+=save_images option

Also:
  - use antialised fonts in RKNN inference
  - moved class strings to inference base class
  - fixed silly segfault in ONNX inference
  - prevent writing results if class if exceeds valid values

Issue: https://denyspopov.atlassian.net/browse/AZ-38
Type: Improvement
2024-08-19 12:15:42 +03:00
Tuomas Järvinen 022e4a1200 Add compile option to use YOLOv8 ONNX models for testing.
- added qmake option yolo_onnx to use normal YOLOv8 ONNX models. This makes possible to test
  gimbals camera inside without real model.
- reduced confidence threshold requirement in AiEngineInferencevOnnxRuntime from 0.5 to 0.2
- make printing prettier with ONNX Runtime
- removed unnecessary cv::Mat::clone()

Type: Improvement
Issue: https://denyspopov.atlassian.net/browse/AZ-39
2024-08-18 17:17:40 +03:00
Tuomas Järvinen 7052a05d55 Enables use of multiple TPUs in OPI5 2024-07-27 11:29:41 +03:00
Tuomas Järvinen 8a7d681e5b Renamed opi_player as rtsp_ai_player 2024-07-14 19:52:45 +02:00