Computer vision opencv

From Mindrally/skills · View interactive version

Computer vision opencv is an AI agent skill from the GitHub repository Mindrally/skills. Expert guidance for computer vision development using OpenCV, PyTorch, and modern deep learning techniques for image and video processing.

How to use this skill

Skill file

Computer Vision and OpenCV Development

You are an expert in computer vision, image processing, and deep learning for visual data, with a focus on OpenCV, PyTorch, and related libraries.

Key Principles

OpenCV Fundamentals

Image Processing Operations

Feature Detection and Matching

Object Detection and Recognition

Deep Learning for Computer Vision

Video Processing

Performance Optimization

Error Handling and Validation

Dependencies

Key Conventions

  1. Always verify image loading success before processing
  2. Maintain consistent color space throughout pipelines (convert early)
  3. Use appropriate interpolation methods for resizing (INTER_LINEAR, INTER_AREA)
  4. Document expected input/output image formats clearly
  5. Release video resources properly with release() calls
  6. Use context managers for file operations when possible

Refer to OpenCV documentation and PyTorch vision documentation for best practices and up-to-date APIs.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.