Skip to content

Ashwin-arch/Opencv-python

Repository files navigation

🧠 OpenCV Python Projects — Ashwin’s Journey

Welcome to my Computer Vision learning journey using Python + OpenCV!
This repository contains hands-on scripts and experiments — from basic image handling to real-time face detection using webcam.


📂 Contents

  • Reading and displaying images
  • Saving images in different formats
  • Drawing shapes (rectangle, line, circle, text)
  • Image transformations (resize, rotate, threshold)
  • Image filtering (Gaussian, Median, Bilateral)
  • Canny edge detection
  • Video reading and saving
  • Face detection in images
  • Real-time face detection from webcam

🔧 Requirements

  • Python 3.x
  • OpenCV (opencv-python)

✅ Install dependencies

pip install opencv-python

📸 Features

✅ Image Processing

  • Load, display, and save images
  • Draw shapes and add text

✅ Filters & Thresholding

  • Gaussian Blur
  • Median Blur
  • Bilateral Filtering
  • Thresholding
  • Canny Edge Detection

✅ Video Processing

  • Load and display video frames
  • Save processed video in different formats

✅ Face Detection

  • Detect faces in static images
  • Detect faces in real-time from webcam
  • Draw bounding boxes and save cropped faces

🚀 How to Run

python your_script.py

For real-time face detection:

python realtime_face_detection.py

Press q to quit webcam window.


🧠 What I Learned

  • Basics of OpenCV: image I/O, transformations, and filters
  • Practical face detection using Haar cascades
  • Real-time computer vision with webcam
  • How filters improve image quality and feature detection
  • Saving images and videos in different formats

📜 License

Open for educational use. Feel free to learn, modify, and build on top of it! 💡


🙋‍♂️ Author

Ashwin Rao
Budding developer and tech enthusiast from SMVITM

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages