Skip to content

Python tools for computer vision and app development. It serves as a reference library, learning playground, and launchpad for smart reusable code.

Notifications You must be signed in to change notification settings

bernardlawes/OpenCV-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧰 Python Toolbox

A versatile collection of Python tools and design patterns for AI, computer vision, and modern Python development. This repo serves as a reference library, learning playground, and launchpad for smarter, reusable code.


📦 What's Included

  • 🧠 AI & Vision Tasks: frame processing, webcam pipelines, thresholding, etc.
  • 🧱 OOP Design: reusable classes, self-powered pipelines, method maps
  • 🧪 Efficient Python: lambdas, partials, argparse-based CLIs, directory tools

🖼️ Demo Snapshots

🎥 Live Frame Pipeline (Webcam View)

Webcam Processing Pipeline

Grayscale → Blur → Canny Edge Detection in real time.

python main.py --steps gray blur canny


🧱 Code Example: Build a Custom Pipeline

def build_pipeline(self, steps):
    step_map = {
        "gray": self.do_gray,
        "blur": lambda f: self.do_blur(f, (3, 3)),
        "canny": lambda f: self.do_canny(f, 50, 150),
    }
    return [step_map[name] for name in steps if name in step_map]




🤝 Installation
git clone https://github.com/yourusername/python-toolbox.git
cd python-toolbox
pip install -r requirements.txt
python main.py --steps gray blur canny

🤝 Contributing
Have a useful snippet, vision trick, or structural pattern to share? PRs and issues are welcome.

📜 License
MIT Licenseuse freely, build boldly.

💡 Author Notes
This repo focuses on readable, modular, and production-friendly Python for real-world computer vision pipelines. Designed to grow with you.


├── Mathematics
├── Webcam-Class
│   ├── Packaged
│   │   ├── camera_edge
│   ├── Standalones
│   │   ├── Basic
│   │   ├── Moderate
│   │   ├── Pipeline
│   └── readme.txt
├── bonsai.py
├── readme.md
└── tree.py

About

Python tools for computer vision and app development. It serves as a reference library, learning playground, and launchpad for smart reusable code.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages