AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified Apache-2.0 Self-run

Computer Vision Opencv

skill-mindrally-skills-computer-vision-opencv · by Mindrally

Expert guidance for computer vision development using OpenCV, PyTorch, and modern deep learning techniques for image and video processing.

No reviews yet
0 installs
39 views
0.0% view→install

Install

$ agentstack add skill-mindrally-skills-computer-vision-opencv

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-mindrally-skills-computer-vision-opencv)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
3mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Computer Vision Opencv? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

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

  • Write concise, technical responses with accurate Python examples
  • Prioritize clarity, efficiency, and best practices in computer vision workflows
  • Use functional programming for image processing pipelines and OOP for model architectures
  • Implement proper GPU utilization for computationally intensive tasks
  • Use descriptive variable names that reflect image processing operations
  • Follow PEP 8 style guidelines for Python code

OpenCV Fundamentals

  • Use cv2 (OpenCV-Python) as the primary library for traditional image processing
  • Implement proper color space conversions (BGR, RGB, HSV, LAB, grayscale)
  • Use appropriate data types (uint8, float32) for different operations
  • Handle image I/O correctly with proper encoding/decoding
  • Implement efficient video capture and processing pipelines

Image Processing Operations

  • Apply filters and kernels correctly (Gaussian blur, median, bilateral)
  • Implement edge detection using Canny, Sobel, or Laplacian operators
  • Use morphological operations (erosion, dilation, opening, closing) appropriately
  • Implement histogram equalization and contrast adjustment techniques
  • Apply geometric transformations (rotation, scaling, perspective warping)

Feature Detection and Matching

  • Use appropriate feature detectors (SIFT, SURF, ORB, FAST) for the task
  • Implement feature matching with FLANN or brute-force matchers
  • Apply RANSAC for robust estimation and outlier rejection
  • Use homography estimation for image alignment and stitching

Object Detection and Recognition

  • Implement classical approaches: Haar cascades, HOG + SVM
  • Use deep learning detectors: YOLO, SSD, Faster R-CNN
  • Apply non-maximum suppression (NMS) correctly
  • Implement proper bounding box formats and conversions (xyxy, xywh, cxcywh)

Deep Learning for Computer Vision

  • Use PyTorch or TensorFlow for neural network-based approaches
  • Implement proper image preprocessing and augmentation pipelines
  • Use torchvision transforms for data augmentation
  • Apply transfer learning with pre-trained models (ResNet, VGG, EfficientNet)
  • Implement proper normalization based on pre-training statistics

Video Processing

  • Implement efficient video reading with cv2.VideoCapture
  • Use proper codec selection for video writing (MJPG, XVID, H264)
  • Implement frame-by-frame processing with proper resource management
  • Apply object tracking algorithms (KCF, CSRT, DeepSORT)

Performance Optimization

  • Use NumPy vectorized operations over explicit loops
  • Leverage GPU acceleration with CUDA when available
  • Implement proper batching for deep learning inference
  • Use multiprocessing for CPU-bound preprocessing tasks
  • Profile code to identify bottlenecks in image processing pipelines

Error Handling and Validation

  • Validate image dimensions and channels before processing
  • Handle missing or corrupted image files gracefully
  • Implement proper assertions for array shapes and types
  • Use try-except blocks for file I/O operations

Dependencies

  • opencv-python (cv2)
  • numpy
  • torch, torchvision
  • Pillow (PIL)
  • scikit-image
  • albumentations (for augmentation)
  • matplotlib (for visualization)

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 (INTERLINEAR, INTERAREA)
  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.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.