You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tested on Orange Pi 5 and Cool Pi 4B. Merge with parts of the OpenCV DNN PR.
Adds support for YOLOv5s models for Rockchip CPUs with a NPU. Right now hard coded to a note model from alex_idk. Very much still incubating and largely untested.
!(!allow3d&&tabConfig.tabName==="3D") &&//Filter out 3D tab any time 3D isn't calibrated
112
-
!((!allow3d||isAprilTag||isAruco) &&tabConfig.tabName==="PnP") &&//Filter out the PnP config tab if 3D isn't available, or we're doing AprilTags
113
-
!((isAprilTag||isAruco) &&tabConfig.tabName==="Threshold") &&//Filter out threshold tab if we're doing AprilTags
114
-
!((isAprilTag||isAruco) &&tabConfig.tabName==="Contours") &&//Filter out contours if we're doing AprilTags
127
+
!((!allow3d||isAprilTag||isAruco||isObjectDetection) &&tabConfig.tabName==="PnP") &&//Filter out the PnP config tab if 3D isn't available, or we're doing AprilTags
128
+
!((isAprilTag||isAruco||isObjectDetection) &&tabConfig.tabName==="Threshold") &&//Filter out threshold tab if we're doing AprilTags
129
+
!((isAprilTag||isAruco||isObjectDetection) &&tabConfig.tabName==="Contours") &&//Filter out contours if we're doing AprilTags
115
130
!(!isAprilTag&&tabConfig.tabName==="AprilTag") &&//Filter out apriltag unless we actually are doing AprilTags
116
-
!(!isAruco&&tabConfig.tabName==="Aruco") //Filter out aruco unless we actually are doing Aruco
131
+
!(!isAruco&&tabConfig.tabName==="Aruco") &&
132
+
!(!isObjectDetection&&tabConfig.tabName==="Object Detection") //Filter out aruco unless we actually are doing Aruco
117
133
)
118
134
)
119
135
.filter((it) =>it.length); // Remove empty tab groups
// TODO fix pipeline typing in order to fix this, the store settings call should be able to infer that only valid pipeline type settings are exposed based on pre-checks for the entire config section
0 commit comments