Which of the following is NOT a common task in computer vision?
Think about what computer vision deals with: images and videos, not sounds.
Speech recognition deals with audio data, not images or videos, so it is outside the scope of computer vision.
Which of these is a real-world application of computer vision?
Computer vision helps computers understand images and videos.
Detecting faces in photos is a classic computer vision task where the system identifies and locates faces.
You want to build a system that recognizes different types of animals in photos. Which model type is best suited for this task?
Think about which model type is designed to process images effectively.
CNNs are designed to analyze images by detecting patterns like edges and shapes, making them ideal for image classification.
Which metric is commonly used to evaluate the accuracy of object detection models?
This metric measures how well the predicted bounding box overlaps with the true bounding box.
IoU calculates the overlap between predicted and actual bounding boxes, which is key for object detection accuracy.
What error will this Python code raise when preprocessing images for a CNN?
import numpy as np
from PIL import Image
img = Image.open('cat.jpg')
img_array = np.array(img)
img_array = img_array / 255.0
img_array = img_array.reshape((224, 224, 3))Check the original image size and the reshape dimensions.
The reshape size must match the total number of pixels. If the image is not 224x224, reshape will fail.