A Python module for communication with PEKAT VISION
Project description
PEKAT VISION SDK - Python
A Python module for communication with PEKAT VISION.
Installation
Type pip install "pekat-vision-sdk[opencv]"
into your terminal.
Example
import cv2
from PekatVisionSDK import Instance
# Connect to an already running project
p = Instance(port=8000, already_running=True)
# Send an image to analyze
result = p.analyze("path_to_image.png", response_type="annotated_image")
# Access the result
flow_result = result.context["result"]
# Decode image bytes
image = result.get_decoded_image()
# Save annotated image on disk
cv2.imwrite("result_with_annotations.png", image)
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
pekat_vision_sdk-2.0.0.tar.gz
(7.2 kB
view hashes)
Built Distribution
Close
Hashes for pekat_vision_sdk-2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 448299c641ccbe6a8f3e0d20430089b04461313e2170c547020e1491310b3019 |
|
MD5 | de194f6ba98e10c59ded192d819ae1da |
|
BLAKE2b-256 | b355f473d420289acceeea9c4b03923fe5d8ed4e17271332a37fa528ff3cad50 |