matlab-integrate-pytorch-vision
Creates MATLAB interfaces to Python image processing and computer vision models from GitHub repositories or pip-installable packages using MPyReq. Use when asked to interface MATLAB with a Python CV/image model (segmentation, depth estimation, object detection, image generation, super-resolution, etc.), given a GitHub repo URL for an image/vision model, or asked to create an MPyReq demo for a deep-learning vision pipeline. Do NOT use for general-purpose Python-MATLAB interfacing, non-vision models (NLP, tabular, audio), model deployment/serving, or MATLAB-only image processing workflows.
npx skills add matlab/matlab-agentic-toolkit --skill matlab-integrate-pytorch-vision --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# MPyReq MATLAB Interface Builder Build a MATLAB interface to a Python/PyTorch model repository using the MPyReq framework. ## When to Use - User asks to interface MATLAB with a Python image processing or computer vision model (segmentation, depth estimation, object detection, image generation, super-resolution, pose estimation, optical flow, salient object detection, etc.) - User provides a GitHub repository URL for a vision/image model and wants to call it from MATLAB - User asks to "create an MPyReq wrapper" or "MPyReq demo" for an image/CV model - User wants to run a pip-installable vision model library (e.g., Cellpose, SAM2, Depth-Pro, BiRefNet, StarDist) from MATLAB ## When Not to Use - General-purpose Python-MATLAB interfacing (no vision/image model involved) - Non-vision models: NLP, audio, tabular, reinforcement learning, time-series - Model deployment, containerization, or inference servers - Pure MATLAB image processing workflows with no Python dependency - Creating Python code (this skill creates MATLAB code that calls Python) ## Prerequisites: MPyReq on the MATLAB Path Before generating any demo script, verify that MPyReq is available. Run `which MPyReq` via the MATLAB
- When to Use
- When Not to Use
- Prerequisites: MPyReq on the MATLAB Path
- If MPyReq is NOT on the MATLAB path:
- Input
- Step 1: Analyze the Repository
- Step 2: Generate the MPyReq Setup Script
- MANDATORY: Installation folder setup
- Pattern A: Simple pip package (like Cellpose)
- Pattern B: Git repo as pip package (like SAM2)
- Pattern C: Git repo + requirements.txt (like VGGT, BiRefNet)
- Pattern D: torch.hub model (like DINOv2, ResNet, etc.)
- Weights download pattern
- Step 3: Create the MATLAB Inference Interface
What does the matlab-integrate-pytorch-vision skill do?
Creates MATLAB interfaces to Python image processing and computer vision models from GitHub repositories or pip-installable packages using MPyReq. Use when asked to interface MATLAB with a Python CV/image model (segmentation, depth estimation, object detection, image generation, super-resolution, etc.), given a GitHub repo URL for an image/vision model, or asked to create an MPyReq demo for a deep-learning vision pipeline. Do NOT use for general-purpose Python-MATLAB interfacing, non-vision models (NLP, tabular, audio), model deployment/serving, or MATLAB-only image processing workflows.
How do I install it?
Run `npx skills add matlab/matlab-agentic-toolkit --skill matlab-integrate-pytorch-vision --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From matlab/matlab-agentic-toolkit, a repository with 868 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
