Model Pipeline - What computer vision encompasses
Computer vision helps computers understand pictures and videos, like how we see and recognize things around us.
Jump into concepts and practice - no test required
Computer vision helps computers understand pictures and videos, like how we see and recognize things around us.
Loss
1.2 |*
0.9 | *
0.7 | *
0.5 | *
0.4 | *
+---------
1 2 3 4 5 Epochs| Epoch | Loss ↓ | Accuracy ↑ | Observation |
|---|---|---|---|
| 1 | 1.2 | 0.45 | Model starts learning basic features |
| 2 | 0.9 | 0.60 | Accuracy improves as edges and shapes are recognized |
| 3 | 0.7 | 0.72 | Model learns more complex patterns |
| 4 | 0.5 | 0.82 | Good feature extraction and classification |
| 5 | 0.4 | 0.88 | Model converges with high accuracy |
import cv2
image = cv2.imread('cat.jpg')
print(type(image))import cv2
face_cascade = cv2.CascadeClassifier('haarcascade_frontalface.xml')
image = cv2.imread('people.jpg')
faces = face_cascade.detectMultiScale(image)
print(len(faces))