AI Tutorial - Computer Vision
👁️ Computer Vision - Dekh Kar Samajhna
🌟 Real Life Mein:
📸 Instagram filters - Face detect karke dog ears lagana
🔓 Phone unlock - Tumhara face pehchanna
🚗 Self-driving - Road, cars, pedestrians detect
Computer Vision = Computers ko dekhna sikhana!
🎯 Main Tasks
| Task | Kya Hai | Example |
|---|---|---|
| Image Classification | Ye kya hai? | Cat ya Dog? |
| Object Detection | Kaha hai? | Car road par kaha? |
| Face Recognition | Kon hai? | Rohan ya Simran? |
| Image Segmentation | Har pixel label | Background vs Person |
Real Application: Security Camera
- Camera video capture → Frames
- Object Detection → "Person detected"
- Face Recognition → "Kon hai?"
- Action → Alert ya Allow entry
Example
# Image processing
from PIL import Image
img = Image.open("photo.jpg")
img.show()