Image

API reference for the "/imaging" endpoint.

For all headers refer to Overview --> Headers

Config Camera Request

The purpose of this request is to allow the AXIBO to configure its camera.

Endpoint

PUT http://{axibo-ip}:2200/v1/imaging/config

Body Properties

Property
Type
Required
Description

imgWidth

int

Yes

Set the image height.

imgHeight

int

Yes

Set the image width.

rotation

string

Yes

Set the rotation of the AXIBO camera.

case

int

Yes

feed

string

Yes

Set whether the feed is from the AXIBO or HDMI.

exposure

float

Yes

Set the exposure of the camera.

autoExpo

int

Yes

Enable/Disable auto exposure.

hdmiRotation

string

No

Set the HDMI rotation.

Example (PUT)

{
    "case": 2,
    "feed": "00",
    "imgWidth": 640,
    "imgheight": 480,
    "rotation": "90_CCW",
    "exposure": 0,
    "autoExpo": 1,
    "hdmiRotation": "0",
}

Camera Image Requests

This request will capture an image from the AXIBO camera.

Endpoint

GET http://{axibo-ip}:2200/v1/imaging/cam

Config Camera Request

This request will return the current camera configuration.

Endpoint

GET http://{axibo-ip}:2200/v1/imaging/config

Example (GET)

{
    "case": 2,
    "feed": "11",
    "imgWidth": 640,
    "imgheight": 480,
    "rotation": "0",
    "exposure": 0.03,
    "gain": 14,
    "autoExpo": 0,
    "enableRaw": 1,
    "enableJpg": 1,
    "enableBase64": 1,
    "poseDetection": 0,
    "createPadding": 0,
    "hdmiWidth": 640,
    "hdmiHeight": 480,
    "hdmiRotation": "0",
}

Matrix Calibration Request

This request will return the matrix calibration.

Endpoint

GET http://{axibo-ip    }:2200/v1/imaging/calib

Example (GET)

{
    "status": 200,
    "message": "317.07 0.00 351.00\n0.00 315.76 170.50\n0.00 0.00 1.00\n"
}

Last updated