Skip to main content
POST
/
api
/
camera
/
calibrateFloorplanProjection
Calibrate floorplan projection
curl --request POST \
  --url https://api2.rhombussystems.com/api/camera/calibrateFloorplanProjection \
  --header 'Content-Type: application/json' \
  --header 'x-auth-apikey: <api-key>' \
  --header 'x-auth-scheme: <x-auth-scheme>' \
  --data '
{
  "cameraImagePointsPermyriad": [
    [
      123
    ]
  ],
  "deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA",
  "floorplanImagePointsPermyriad": [
    [
      123
    ]
  ]
}
'
{
  "homography": [
    [
      123
    ]
  ]
}

Authorizations

x-auth-apikey
string
header
required

Your API key for Rhombus.

Headers

x-auth-scheme
string
default:api-token
required

Authentication scheme indicator ("api-token").

Required string length: 9

Body

application/json

Request to calibrate floorplan projection for a device.

cameraImagePointsPermyriad
((integer<int32> | null)[] | null)[] | null

List of camera image points in permyriad coordinates

List of camera image points in permyriad coordinates

List of camera image points in permyriad coordinates

deviceUuid
string<RUUID> | null

base 64 (url-safe) uuid string

Example:

"AAAAAAAAAAAAAAAAAAAAAA"

floorplanImagePointsPermyriad
((integer<int32> | null)[] | null)[] | null

List of floorplan image points in permyriad coordinates

List of floorplan image points in permyriad coordinates

List of floorplan image points in permyriad coordinates

Response

200 - application/json

OK

Response containing the calibrated floorplan projection homography.

homography
((number<double> | null)[] | null)[] | null

3x3 homography matrix for floorplan projection

3x3 homography matrix for floorplan projection

3x3 homography matrix for floorplan projection