Table of Contents

set detection threshold to ()

Description

This block is used to set the threshold for the confidence (accuracy) of face detection, 0 being low confidence and 1 being high confidence. With the threshold value, you can set the level of confidence required for face detection.

  1. At 0.4 threshold:
  2. At 0.9 threshold:

Tip: Use this block with a lower threshold if you are not able to detect objects due to dim light, partial appearance of the object, etc.

Example

The example demonstrates how to use the confidence threshold in face detection (Block Coding).

Script

Output

Read More
All articles loaded
No more articles to load