Skip to main content

A high-level Python API for KAYA frame grabber hardware

Project description

pykyfg

A high-level Python API for KAYA frame grabber hardware, providing easy-to-use interfaces for camera control, image acquisition, and streaming.

⚠️ Important Notice

This package provides only basic functionality and does not fully support all KAYA API features.

For complete KAYA API support and official documentation, please refer to the official KAYA Vision Point SDK

Disclaimer: This package is developed by a third party and is not affiliated with or endorsed by KAYA Instruments. KAYA Instruments assumes no responsibility for this package or its use.

Overview

pykyfg is a Python wrapper around the KAYA frame grabber SDK, designed to simplify camera operations and image acquisition workflows. It provides both low-level bindings (kyapi) and high-level abstractions (pykyfg) for working with KAYA hardware.

Installation

Install directly using pip:

pip install pykyfg

Prerequisites

  • Python 3.8+
  • KAYA frame grabber and camera hardware
  • KAYA Vision Point SDK installed and configured

Dependencies

  • numpy - Numerical computing
  • opencv-python - Computer vision library

Quick Start

import pykyfg
import cv2

with pykyfg.FrameGrabber().open() as fg:
    with fg.open_camera() as cam:
        with cam.open_stream(4) as stream:
            frames = cam.capture(1)

            
for frame in frames:
    cv2.imshow("Frame", frame)
    cv2.waitKey(0)
cv2.destroyAllWindows()

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

pykyfg-0.1.0.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pykyfg-0.1.0-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

Details for the file pykyfg-0.1.0.tar.gz.

File metadata

  • Download URL: pykyfg-0.1.0.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for pykyfg-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a251ef123880faf8b179a39a92c9346f5b2af86462c45b93bf51f4bb4b90443f
MD5 85b7557dc7aaf14de8a7a5fd2546a0f3
BLAKE2b-256 6b562dc98a6a4eea8a90ec56f3f6daf14ca0897f0e73d3606c3b0dd6b5e66433

See more details on using hashes here.

File details

Details for the file pykyfg-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pykyfg-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for pykyfg-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 15b647b0ba06d06a329d75ebfae051b84e531da048f8139cb24a036b45183e92
MD5 b3a8c9aa9ae0b3a14245bb47ede15702
BLAKE2b-256 47bc4f266990b8d0b42f33d0d284e702dc703d770fc2bf225ea327f5e40efc00

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