BIION-D Docs

Camera API

Fetch an image from an external HTTP endpoint.

The Camera API module fetches an image from an external HTTP endpoint instead of a locally connected camera. This is useful for integrating remote cameras or image services that expose a REST API.

Configuration

Field Type Description
Method GET or POST HTTP method used to request the image
URL URL Complete address of the image endpoint

Behavior

  1. The module sends the configured HTTP request to the specified URL.
  2. The response body is decoded as an image (JPEG, PNG, etc.).
  3. The image and execution time are stored in the data registry.

The request timeout is 30 seconds. If the endpoint does not respond in time, the module raises an error.

Inputs & Outputs

Direction Key Type Description
Input — — No inputs required
Output <module_id>.frame image (numpy array) The fetched image

Camera API is independent from the physical Camera and Light placement restrictions.