photos-from-image - Extract player and coach avatars from lineup images
Extracts individual player and coach photos from lineup images using visual analysis and a Node.js sharp script, saving them as app avatars.
Tags
Updated: 2026-09-18Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Analyze visual face bounding boxes
- Match squad numbers to players
- Generate crop specification JSON
- Crop images using sharp script
- Regenerate auto-generated photo manifests
- Verify build with npm
Inputs
- Team code
- Lineup image or Instagram URL
- Squad data TypeScript file
Outputs
- Player WebP images
- Coach WebP image
- Updated player photo manifest
- Updated coach photo manifest
Requirements
- Node.js environment
- sharp package
- Visual analysis capability
