Python Computer Vision Snippets
📸 Collection of Sublime Text snippets for computer vision and image processing in Python (Imports, OpenCV, Pillow)
Details
Installs
- Total 651
- Win 464
- Mac 62
- Linux 125
Sep 10 | Sep 9 | Sep 8 | Sep 7 | Sep 6 | Sep 5 | Sep 4 | Sep 3 | Sep 2 | Sep 1 | Aug 31 | Aug 30 | Aug 29 | Aug 28 | Aug 27 | Aug 26 | Aug 25 | Aug 24 | Aug 23 | Aug 22 | Aug 21 | Aug 20 | Aug 19 | Aug 18 | Aug 17 | Aug 16 | Aug 15 | Aug 14 | Aug 13 | Aug 12 | Aug 11 | Aug 10 | Aug 9 | Aug 8 | Aug 7 | Aug 6 | Aug 5 | Aug 4 | Aug 3 | Aug 2 | Aug 1 | Jul 31 | Jul 30 | Jul 29 | Jul 28 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 2 | 0 | 0 | 1 | 1 | 3 | 0 | 0 | 0 | 0 | 0 | 3 | 2 | 0 | 0 | 0 | 0 | 1 | 2 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 2 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 |
Readme
📸 Python Computer Vision Snippets
Python Computer Vision Snippets is a collection of Sublime Text snippets for computer vision and image processing in Python.
💻 Installation
The easiest way to install Python Computer Vision Snippets is through Package Control. After it is enabled inside Sublime Text, open the command palette and find Package Control: Install Package and press ENTER
. Then, find Python Computer Vision Snippets in the list. Press ENTER
again, and this package is installed!
📈 Snippets
Imports
Import snippets start with i
followed by the package/module's import alias.
Trigger | Description |
---|---|
icv2 |
import cv2 |
iImage |
from PIL import Image |
OpenCV
Trigger | Description |
---|---|
circle |
cv2.circle |
cvtColor |
cv2.cvtColor |
destroyAllWindows |
cv2.destroyAllWindows |
imread |
cv2.imread |
imshow |
cv2.imshow |
imwrite |
cv2.imwrite |
line |
cv2.line |
putText |
cv2.putText |
rectangle |
cv2.rectangle |
resize |
cv2.resize |
rotate |
cv2.rotate |
VideoCapture |
cv2.VideoCapture |
waitKey |
cv2.waitKey |
Pillow
Trigger | Description |
---|---|
convert |
Image.convert |
crop |
Image.crop |
fromarray |
PIL.Image.fromarray |
open |
PIL.Image.open |
resize |
Image.resize |
rotate |
Image.rotate |
save |
Image.save |
The snippet files are in the snippets
folder of this GitHub repository.