Python Computer Vision Snippets
📸 Collection of Sublime Text snippets for computer vision and image processing in Python (Imports, OpenCV, Pillow)
Details
Installs
- Total 612
- Win 438
- Mac 57
- Linux 117
Jul 26 | Jul 25 | Jul 24 | Jul 23 | Jul 22 | Jul 21 | Jul 20 | Jul 19 | Jul 18 | Jul 17 | Jul 16 | Jul 15 | Jul 14 | Jul 13 | Jul 12 | Jul 11 | Jul 10 | Jul 9 | Jul 8 | Jul 7 | Jul 6 | Jul 5 | Jul 4 | Jul 3 | Jul 2 | Jul 1 | Jun 30 | Jun 29 | Jun 28 | Jun 27 | Jun 26 | Jun 25 | Jun 24 | Jun 23 | Jun 22 | Jun 21 | Jun 20 | Jun 19 | Jun 18 | Jun 17 | Jun 16 | Jun 15 | Jun 14 | Jun 13 | Jun 12 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 3 | 0 | 0 | 1 | 1 | 0 | 2 | 0 | 0 | 0 | 1 | 0 | 2 | 0 | 1 | 2 | 0 | 1 | 1 | 0 |
Mac | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 |
Linux | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 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.