Skip to main content

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)

Uploaded Source

Built Distribution

pekat_vision_sdk-2.0.0-py3-none-any.whl (8.8 kB view hashes)

Uploaded Python 3

Supported by

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