Skip to main content

IDS XS TOOLS - UiS

Class and functions for processing images and puck objects

installation

pip install IDS-XS-TOOLS-UiS

contents

ImageFunctions

Functions to capture image, find pucks and test if image is blurry.

Puck Class

Used to define a Puck object. 
Happens automatically when a puck is detected using QR-Reader.

Puck class contains:
puck number
puck position
puck angle
puck height

function examples;

capture_image(cam, gripper_height)
Captures an image and returns image array Gripper height is needed.

findPucks(cam, robot, robtarget_pucks, cam_comp=False)
Finds all pucks in the frame of the camera by capturing an image and scanning the image for QR codes. After the codes have been pinpointed, a series of transformations happen to finally create robtargets which can be sent to RobotWare. Robot, previous found pucks and wether camera compensation has been performed or not is needed.

set_position(self, position)
Set the [x,y] coordinate belonging to the puck.

example of use

# Two ways to import:
import ids_xs_tools

# or
from ids_xs_tools import ImageFunctions, Puck

# Then again two ways to excecute wanted commands:
ids_xs_tools.ImageFunctions.findPucks(config.cam, norbert, robtarget_pucks, 195)

# or
ImageFunctions.findPucks(config.cam, norbert, robtarget_pucks, 195)

Metadata

Release files for IDS-XS-TOOLS-UiS 0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for IDS-XS-TOOLS-UiS 0.3
File Size Uploaded
IDS_XS_TOOLS-UiS-0.3.tar.gz 9.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for IDS-XS-TOOLS-UiS 0.3
File Interpreter ABI Platform
IDS_XS_TOOLS_UiS-0.3-py3-none-any.whl Python 3 none any Details

Total release size: 23.3 kB

Release files / IDS_XS_TOOLS-UiS-0.3.tar.gz

Download URL IDS_XS_TOOLS-UiS-0.3.tar.gz
Size 9.6 kB
Tags Source
SHA-256 checksum
How to use checksums
068e030aff73b3ca5d3e2a1fb5fc6480788b01e48dc4a1fd636229cddc8b0b79
BLAKE2b-256 checksum
How to use checksums
196548ad393e45d84e7d426692cb543c429bbb6b74a1aaedc886be757af11d09
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.7

Release files / IDS_XS_TOOLS_UiS-0.3-py3-none-any.whl

Download URL IDS_XS_TOOLS_UiS-0.3-py3-none-any.whl
Size 13.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5b6d8f4b9d61d0e1022e1a0090a83f6a213c7df404ee0544da889aec1624dfd7
BLAKE2b-256 checksum
How to use checksums
eabe60670223187cdcd6a45629bd45c10d002cf8cf1c25889e5cbc2726827acb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.7

Release history Release notifications | RSS feed

This release

0.3 This release

2 release files

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page