diff options
author | Vivia Nikolaidou <vivia@ahiru.eu> | 2020-10-13 13:11:06 +0300 |
---|---|---|
committer | Vivia Nikolaidou <vivia@ahiru.eu> | 2020-10-13 17:21:59 +0300 |
commit | 94e162343405ff24e163244a3d64fcf5f42066a0 (patch) | |
tree | 0335b143cd15355d4bead9c7ee8a8501da29f0a1 | |
parent | 2f29a4cde6e6b0f3945071d04bf734bc08396106 (diff) | |
download | gstreamer-plugins-bad-94e162343405ff24e163244a3d64fcf5f42066a0.tar.gz |
cameracalibrate: Improve gst-inspect documentation
Thanks to @kazz_naka on Twitter
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1691>
-rw-r--r-- | docs/plugins/gst_plugins_cache.json | 6 | ||||
-rw-r--r-- | ext/opencv/gstcameracalibrate.cpp | 7 |
2 files changed, 7 insertions, 6 deletions
diff --git a/docs/plugins/gst_plugins_cache.json b/docs/plugins/gst_plugins_cache.json index c848461d7..75ae26afc 100644 --- a/docs/plugins/gst_plugins_cache.json +++ b/docs/plugins/gst_plugins_cache.json @@ -211143,7 +211143,7 @@ "elements": { "cameracalibrate": { "author": "Philippe Renon <philippe_renon@yahoo.fr>", - "description": "Performs camera calibration", + "description": "Performs camera calibration by having it point at a chessboard pattern using upstream/downstream cameraundistort", "hierarchy": [ "GstCameraCalibrate", "GstOpencvVideoFilter", @@ -211184,7 +211184,7 @@ "writable": true }, "board-height": { - "blurb": "The board height in number of items", + "blurb": "The board height in number of items (e.g. number of squares for chessboard)", "conditionally-available": false, "construct": false, "construct-only": false, @@ -211198,7 +211198,7 @@ "writable": true }, "board-width": { - "blurb": "The board width in number of items", + "blurb": "The board width in number of items (e.g. number of squares for chessboard)", "conditionally-available": false, "construct": false, "construct-only": false, diff --git a/ext/opencv/gstcameracalibrate.cpp b/ext/opencv/gstcameracalibrate.cpp index 16f8e30ac..291f6c7fb 100644 --- a/ext/opencv/gstcameracalibrate.cpp +++ b/ext/opencv/gstcameracalibrate.cpp @@ -204,13 +204,13 @@ gst_camera_calibrate_class_init (GstCameraCalibrateClass * klass) g_object_class_install_property (gobject_class, PROP_BOARD_WIDTH, g_param_spec_int ("board-width", "Board Width", - "The board width in number of items", + "The board width in number of items (e.g. number of squares for chessboard)", 1, G_MAXINT, DEFAULT_BOARD_WIDTH, (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS))); g_object_class_install_property (gobject_class, PROP_BOARD_HEIGHT, g_param_spec_int ("board-height", "Board Height", - "The board height in number of items", + "The board height in number of items (e.g. number of squares for chessboard)", 1, G_MAXINT, DEFAULT_BOARD_WIDTH, (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS))); @@ -276,7 +276,8 @@ gst_camera_calibrate_class_init (GstCameraCalibrateClass * klass) gst_element_class_set_static_metadata (element_class, "cameracalibrate", "Filter/Effect/Video", - "Performs camera calibration", + "Performs camera calibration by having it point at a chessboard pattern " + "using upstream/downstream cameraundistort", "Philippe Renon <philippe_renon@yahoo.fr>"); /* add sink and source pad templates */ |