Boards

Zoloto Camera Board

class j5_zoloto.board.ZolotoCameraBoard(serial, backend)[source]

Virtual Camera Board for detecting fiducial markers.

__init__(serial, backend)[source]
capture()[source]

Get the raw image data from the camera.

Return type

ndarray

Returns

Camera pixel data

property firmware_version: Optional[str]

Get the firmware version of the board.

Return type

Optional[str]

make_safe()[source]

Make this board safe.

Return type

None

name: str = 'Zoloto Camera Board'
save(path, *, frame=None)[source]

Save an annotated image to a path.

Parameters
  • path (Union[Path, str]) – Path to save file to.

  • frame (Optional[ndarray]) – Optional frame to process instead of capturing one.

Return type

None

see(*, eager=True, frame=None)[source]

Capture an image and identify fiducial markers.

Parameters
  • eager (bool) – Process the pose estimations of markers immediately.

  • frame (Optional[ndarray]) – Optional frame to process instead of capturing one.

Return type

List[BaseMarker]

Returns

list of markers that the camera could see.

see_ids(*, frame=None)[source]

Capture an image and identify fiducial markers.

This method does not perform pose estimation, so is faster than see.

Parameters

frame (Optional[ndarray]) – Optional frame to process instead of capturing one.

Return type

List[int]

Returns

A list of IDs for the markers that were visible.

property serial_number: str

Get the serial number.

Return type

str

static supported_components()[source]

List the types of components supported by this board.

Return type

Set[Type[Component]]