Added an enableDraw flag to control whether detection outlines and text are drawn. This reduces unnecessary processing when visual output is not needed.
Modified the loop method to skip displaying and waiting operations if enableDraw is false, thus avoiding performance overhead during detection.
Included checks for empty frames and improved error messages for better debugging.
I misread the original pr. I thought u changed cerr to printf not the other way around. 🫠 Ill just fix my mistake in a commit and then we can merge this.
Issue #4