Ask Your Question

Revision history [back]

Since it suits your needs, please accept this as the solution.

Basically what you should do is

  • Grab the webcam frame
  • Make a deep clone of the frame two times, one clone_frame and one original_frame, this can be done with the Mat.clone() function.
  • Apply detection on both frame and clone_frame, but with different detection algorithms
  • Now visualize all detections on original_frame

Does this suit your needs?