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.11.tar.gz
(4.3 kB
view details)
File details
Details for the file cvtools-0.1.11.tar.gz.
File metadata
- Download URL: cvtools-0.1.11.tar.gz
- Upload date:
- Size: 4.3 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 |
c7317bdef435648ce1ba2d4bdc83683a6abed0ebbf1f828e3f82a7dcd12befb3
|
|
| MD5 |
8d1ccb0468ab1c2e753915a171323738
|
|
| BLAKE2b-256 |
c4cbeb34b15f4c5f7bd12df72db986cda15b77feeb4b3c7144760144992e35c4
|