OpenCV Python Headless
Computer vision library for image and video processing without GUI dependencies, ideal for server environments.
Files, images and media PyPI Apache 2.0
Used in agent projects
23
0.2% of 12,697 public repos built with AI coding agents
Rank in files, images and media
#46 of 52
by use in those projects
Downloads
9.8M
PyPI, last 7 days, opencv-python-headless
GitHub stars
5,420
last push Sep 4, 2026
How OpenCV Python Headless is used
OpenCV Python Headless is a dependency in 23 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.2%), #46 of 52 in files, images and media. The most used alternative there is Sharp. Projects that use it most often also use NumPy (82.6%), Pillow (82.6%), Requests (52.2%).
Often used with OpenCV Python Headless
| NumPy | 82.6% of OpenCV Python Headless projects · 21.5× more than average |
|---|---|
| Pillow | 82.6% of OpenCV Python Headless projects · 35.9× more than average |
| Requests | 52.2% of OpenCV Python Headless projects · 9.8× more than average |
| FastAPI | 47.8% of OpenCV Python Headless projects · 11.3× more than average |
| python-dotenv | 47.8% of OpenCV Python Headless projects · 7.3× more than average |
| Uvicorn | 47.8% of OpenCV Python Headless projects · 11.2× more than average |
| Matplotlib | 39.1% of OpenCV Python Headless projects · 25.6× more than average |
| PyYAML | 39.1% of OpenCV Python Headless projects · 12.9× more than average |
By coding agent
| Claude Code | 0.4% of projects set up for it |
|---|---|
| GitHub Copilot | 0.4% of projects set up for it |
Share of public repos configured for each agent that list OpenCV Python Headless as a dependency.
Install
| Package | pip install opencv-python-headless |
|---|---|
| Main stacks | Python (23) |
| Example projects | timowhite88/Farnsworth, ericrosenberg1/CityBot2, loblawbob873-svg/posterchanai, banodoco/brain-of-bndc, atiilla/whiterabbit-mcp |
Alternatives to OpenCV Python Headless
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| Sharp npm High-speed image processing for resizing, converting JPEG, PNG, WebP, GIF formats. |
390 (3.1%) | 115M | 32.7K | Apache-2.0 |
| Pillow pypi Python imaging library for image processing, manipulation and conversion. |
292 (2.3%) | 138M | 13.9K | — |
| Nodemailer npm Send emails from Node.js applications with support for multiple transport methods. |
232 (1.8%) | 25.2M | 17.7K | MIT-0 |
| jsPDF npm Generate PDF documents directly from JavaScript in browsers and Node.js. |
184 (1.4%) | 15.6M | 31.3K | MIT |
| qrcode (JavaScript) npm Generate QR codes on server and client using canvas with Node.js and browser support. |
163 (1.3%) | 29.7M | 8,178 | MIT |
| SheetJS npm Parse and generate spreadsheets (Excel, CSV) in Node.js and browsers. |
146 (1.1%) | 12.7M | 36.3K | Apache-2.0 |
| html2canvas npm JavaScript library for taking screenshots of web pages and rendering HTML to canvas. |
115 (0.9%) | 18.5M | 31.9K | MIT |
| JSZip npm JavaScript library for creating, reading and editing ZIP archives in the browser. |
96 (0.8%) | 47.5M | 10.4K | (MIT OR GPL-3.0-or-later) |