Skip to main content

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


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.10.tar.gz (4.3 kB view details)

Uploaded Source

File details

Details for the file cvtools-0.1.10.tar.gz.

File metadata

  • Download URL: cvtools-0.1.10.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

Hashes for cvtools-0.1.10.tar.gz
Algorithm Hash digest
SHA256 f3d9cdace3eec2e37e6ab104969365b5ae14a4c1c5ec4998a45cfd91492b26ee
MD5 6cf424e09df396be2649caac58bd9bae
BLAKE2b-256 604eb6f10498b8a019c4d740fb3490927e43f445255c388aa17e6381fa3e82a7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page