0
0
Computer Visionml~20 mins

Face detection with deep learning in Computer Vision - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Face Detection Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
1:30remaining
What is the main role of the bounding box in face detection?

In face detection using deep learning, what does the bounding box represent?

AIt enhances the image contrast for better face recognition.
BIt marks the area in the image where a face is detected.
CIt generates the facial landmarks like eyes and nose positions.
DIt normalizes the pixel values of the detected face region.
Attempts:
2 left
💡 Hint

Think about what a box drawn on an image usually shows.

Predict Output
intermediate
1:30remaining
Output of face detection model prediction array

Given the following output array from a face detection model, what does the first element represent?

Computer Vision
predictions = [[0.95, 0.1, 0.2, 0.5, 0.6], [0.80, 0.4, 0.3, 0.7, 0.8]]
# Each sublist: [confidence, x_min, y_min, x_max, y_max]
AThe y-coordinate of the bottom-right corner of the bounding box.
BThe x-coordinate of the top-left corner of the bounding box.
CThe confidence score that a face is detected in the bounding box.
DThe width of the detected face bounding box.
Attempts:
2 left
💡 Hint

The first number in each prediction usually tells how sure the model is.

Hyperparameter
advanced
2:00remaining
Choosing the confidence threshold in face detection

Why is setting a confidence threshold important when using a deep learning face detector?

AIt filters out detections with low confidence to reduce false positives.
BIt increases the size of the bounding boxes for better coverage.
CIt normalizes the input images before detection.
DIt adjusts the learning rate during model training.
Attempts:
2 left
💡 Hint

Think about how to avoid wrong face detections.

Metrics
advanced
2:00remaining
Evaluating face detection with Intersection over Union (IoU)

What does a high Intersection over Union (IoU) score indicate when comparing predicted and ground truth bounding boxes?

AThe predicted bounding box closely matches the actual face location.
BThe predicted bounding box is much larger than the actual face.
CThe model has low confidence in the detection.
DThe predicted bounding box is completely outside the actual face.
Attempts:
2 left
💡 Hint

IoU measures how much two boxes overlap.

🔧 Debug
expert
2:30remaining
Why does this face detection model fail on some images?

Consider a deep learning face detector that works well on frontal faces but fails on side profiles. What is the most likely reason?

AThe confidence threshold is set too low, missing side profiles.
BThe model uses too many convolutional layers causing overfitting.
CThe input images are normalized incorrectly before detection.
DThe training data lacked diverse face angles, causing poor generalization.
Attempts:
2 left
💡 Hint

Think about what affects a model's ability to recognize different face poses.