Computer Vision adalah cabang AI yang memungkinkan mesin memahami dan memproses informasi visual. Di 2026, YOLOv8 (You Only Look Once) menjadi state-of-the-art untuk object detection real-time, sementara OpenCV tetap menjadi library serbaguna untuk image processing.
Install YOLOv8
pip install ultralytics opencv-python
# Deteksi objek dari webcam
from ultralytics import YOLO
model = YOLO('yolov8n.pt') # model nano, ringan
results = model(0, show=True) # webcam index 0






