Skip to content

Commit 698e6f4

Browse files
committed
Fix bug with 'Display Box Text' logic being flipped (yes was no, no was yes)
1 parent 07e4458 commit 698e6f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/effects/ObjectDetection.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ std::shared_ptr<Frame> ObjectDetection::GetFrame(std::shared_ptr<Frame> frame, i
109109

110110
if (trackedObject->draw_box.GetValue(frame_number) == 1) {
111111
// Draw bounding box
112-
bool display_text = !display_box_text.GetValue(frame_number);
112+
bool display_text = display_box_text.GetValue(frame_number);
113113
std::vector<int> stroke_rgba = trackedObject->stroke.GetColorRGBA(frame_number);
114114
std::vector<int> bg_rgba = trackedObject->background.GetColorRGBA(frame_number);
115115
int stroke_width = trackedObject->stroke_width.GetValue(frame_number);

0 commit comments

Comments
 (0)