OpenCV tools for CV applications
Project description
cvtools
OpenCV tools for cv applications.
cvtools.cv_load_image
Use opencv to load images, either in local file system or remote http servers.
from cvtools import cv_load_image
cv_load_image('https://ss1.baidu.com/6ONXsjip0QIZ8tyhnq/it/u=4234657924,3898859385&fm=173&app=25&f=JPEG?w=640&h=756&s=DA202EC74623C8EE582E73620300D07F')
cvtools.get_image_info
To get image meta info really fast.
from cvtools import get_image_info, verify_jpeg
with open("test.png", 'rb') as f:
print(get_image_info(f))
print(verify_jpeg(f))
# 'image/png', 1506, 1186
# False
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cvtools-0.1.16.tar.gz
(4.6 kB
view details)
File details
Details for the file cvtools-0.1.16.tar.gz.
File metadata
- Download URL: cvtools-0.1.16.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
605d90d6d2920058f89660a31e7ec5d2940d0f28ce7836ec1410d0e3823d5782
|
|
| MD5 |
1f6024e16f66fc4d9e23c4df0a0d0b95
|
|
| BLAKE2b-256 |
48201acfa111df59098f76d8a03f91140e3197977d45fca11a8e4dcd28fce128
|