You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/components/camera/transform.md
-192Lines changed: 0 additions & 192 deletions
Original file line number
Diff line number
Diff line change
@@ -118,7 +118,6 @@ The following attributes are available for `transform` views:
118
118
|`pipeline`| array |**Required**| Specify an array of transformation objects. |
119
119
|`intrinsic_parameters`| object | Optional | The intrinsic parameters of the camera used to do 2D <-> 3D projections: <ul> <li> <code>width_px</code>: The expected width of the aligned image in pixels. Value must be >= 0.</li> <li> <code>height_px</code>: The expected height of the aligned image in pixels. Value must be >= 0.</li> <li> <code>fx</code>: The image center x point. </li> <li> <code>fy</code>: The image center y point. </li> <li> <code>ppx</code>: The image focal x. </li> <li> <code>ppy</code>: The image focal y. </li> </ul> |
120
120
|`distortion_parameters`| object | Optional | Modified Brown-Conrady parameters used to correct for distortions caused by the shape of the camera lens: <ul> <li> <code>rk1</code>: The radial distortion x. </li> <li> <code>rk2</code>: The radial distortion y. </li> <li> <code>rk3</code>: The radial distortion z. </li> <li> <code>tp1</code>: The tangential distortion x. </li> <li> <code>tp2</code>: The tangential distortion y. </li> </ul> |
121
-
|`debug`| boolean | Optional | Enables the debug outputs from the camera if `true`. <br> Default: `false`|
122
121
123
122
The following are the transformation objects available for the `pipeline`:
124
123
@@ -232,73 +231,6 @@ If you have a 100 x 200 image, and you want to crop to a box between the points
232
231
-`y_max_px`: The y coordinate or the relative proportion of the bottom right point of the rectangular area to crop the image to.
233
232
-`overlay_crop_box`: Set to `true` to not actually carry out the crop, but instead overlay the cropping box on the original image and visualize where the crop would be applied.
234
233
235
-
### Depth edges
236
-
237
-
The Depth Edges transform creates a canny edge detector to detect edges on an input depth map.
The Depth-to-Pretty transform takes a depth image and turns it into a colorful image, with blue indicating distant points and red indicating nearby points.
284
-
The actual depth information is lost in the transform.
The Detections transform takes the input image and overlays the detections from a given detector configured within the [vision service](/services/vision/).
@@ -325,62 +257,6 @@ The Detections transform takes the input image and overlays the detections from
325
257
-`confidence_threshold`: Specify to only display detections above the specified threshold (decimal between 0 and 1).
326
258
-`valid_labels`: _Optional_. An array of labels that you to see detections for on the camera stream. If not specified, all labels from the classifier are used.
327
259
328
-
### Identity
329
-
330
-
The Identity transform does nothing to the image.
331
-
You can use this transform to change the underlying camera source's intrinsic parameters or stream type, for example.
-`intrinsic_parameters`: The intrinsic parameters of the camera used to do 2D <-> 3D projections.
377
-
-`width_px`: The width of the image in pixels. Value must be >= 0.
378
-
-`height_px`: The height of the image in pixels. Value must be >= 0.
379
-
-`ppx`: The image center x point.
380
-
-`ppy`: The image center y point.
381
-
-`fx`: The image focal x.
382
-
-`fy`: The image focal y.
383
-
384
260
### Resize
385
261
386
262
The Resize transform resizes the image to the specified height and width.
@@ -428,74 +304,6 @@ This feature is useful for when the camera is installed upside down or sideways
428
304
429
305
-`angle_deg`: Rotate the image by a specific angle in degrees.
430
306
431
-
### Undistort
432
-
433
-
The Undistort transform undistorts the input image according to the intrinsic and distortion parameters specified within the camera parameters.
434
-
Currently only supports a Brown-Conrady model of distortion (20 September 2022).
435
-
For further information, please refer to the [OpenCV docs](https://docs.opencv.org/3.4/da/d54/group__imgproc__transform.html#ga7dfb72c9cf9780a347fbe3d1c47e5d5a).
0 commit comments