Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #11 from occ-ai/roy.fix_boxes_draw_class_name
Browse files Browse the repository at this point in the history
refactor: Update draw_objects function to include classNames vector
  • Loading branch information
royshil authored May 14, 2024
2 parents 1e1e865 + 8c1595d commit b3000d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/detect-filter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ void detect_filter_video_tick(void *data, float seconds)

if (tf->preview || tf->maskingEnabled) {
if (tf->preview && objects.size() > 0) {
edgeyolo_cpp::utils::draw_objects(frame, objects);
edgeyolo_cpp::utils::draw_objects(frame, objects, tf->classNames);
}
if (tf->maskingEnabled) {
cv::Mat mask = cv::Mat::zeros(frame.size(), CV_8UC1);
Expand Down

0 comments on commit b3000d9

Please sign in to comment.