mirror of
https://github.com/azaion/autopilot.git
synced 2026-04-23 01:36:33 +00:00
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
This commit is contained in:
@@ -16,9 +16,15 @@ else {
|
||||
}
|
||||
|
||||
yolo_onnx {
|
||||
message("Using YOLOv8 ONNX models for indoor testing.")
|
||||
QMAKE_CXXFLAGS += -DYOLO_ONNX
|
||||
}
|
||||
|
||||
save_images {
|
||||
message("Saving inference images to /tmp.")
|
||||
QMAKE_CXXFLAGS += -DSAVE_IMAGES
|
||||
}
|
||||
|
||||
opi5 {
|
||||
message("OPI5 build")
|
||||
CONFIG += link_pkgconfig
|
||||
|
||||
Reference in New Issue
Block a user