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
]
]
}Generate the homography to project detections onto a floorplan.
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
]
]
}Documentation Index
Fetch the complete documentation index at: https://api-docs.rhombus.community/llms.txt
Use this file to discover all available pages before exploring further.
Your Rhombus API key. Must be accompanied by the x-auth-scheme header set to api-token (or partner-api-token for partner endpoints).
Authentication scheme identifier. Use api-token for standard API key authentication, partner-api-token for partner API key authentication. Must be paired with the x-auth-apikey header containing your API key.
api-token, api, partner-api-token, partner-api Request to calibrate floorplan projection for a device.
List of camera image points in permyriad coordinates
List of camera image points in permyriad coordinates
List of camera image points in permyriad coordinates
base 64 (url-safe) uuid string
"AAAAAAAAAAAAAAAAAAAAAA"
List of floorplan image points in permyriad coordinates
List of floorplan image points in permyriad coordinates
List of floorplan image points in permyriad coordinates
OK
Response containing the calibrated floorplan projection homography.
3x3 homography matrix for floorplan projection
3x3 homography matrix for floorplan projection
3x3 homography matrix for floorplan projection
Was this page helpful?