simbrams / camera-calibration
(Updated 3 months ago)
Run simbrams/camera-calibration with an API
Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.
Input schema
The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.
Field | Type | Default value | Description |
---|---|---|---|
image |
string
|
Input image to calibrate
|
|
camera_model |
string
(enum)
|
pinhole
Options: pinhole, simple_radial, simple_divisional |
Camera model to use for calibration
|
plot_up |
boolean
|
True
|
Plot up vectors on the output image
|
plot_latitude |
boolean
|
True
|
Plot latitude lines on the output image
|
plot_up_confidence |
boolean
|
False
|
Plot up vector confidence on the output image
|
plot_latitude_confidence |
boolean
|
False
|
Plot latitude confidence on the output image
|
plot_undistort |
boolean
|
False
|
Undistort the image (only for models with distortion parameters)
|
{
"type": "object",
"title": "Input",
"required": [
"image"
],
"properties": {
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 0,
"description": "Input image to calibrate"
},
"plot_up": {
"type": "boolean",
"title": "Plot Up",
"default": true,
"x-order": 2,
"description": "Plot up vectors on the output image"
},
"camera_model": {
"enum": [
"pinhole",
"simple_radial",
"simple_divisional"
],
"type": "string",
"title": "camera_model",
"description": "Camera model to use for calibration",
"default": "pinhole",
"x-order": 1
},
"plot_latitude": {
"type": "boolean",
"title": "Plot Latitude",
"default": true,
"x-order": 3,
"description": "Plot latitude lines on the output image"
},
"plot_undistort": {
"type": "boolean",
"title": "Plot Undistort",
"default": false,
"x-order": 6,
"description": "Undistort the image (only for models with distortion parameters)"
},
"plot_up_confidence": {
"type": "boolean",
"title": "Plot Up Confidence",
"default": false,
"x-order": 4,
"description": "Plot up vector confidence on the output image"
},
"plot_latitude_confidence": {
"type": "boolean",
"title": "Plot Latitude Confidence",
"default": false,
"x-order": 5,
"description": "Plot latitude confidence on the output image"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "object",
"title": "Output"
}