Commit d3fc8c6d authored by André Anjos's avatar André Anjos 💬

[doc] Add JSON output example

parent cb686033
Pipeline #26569 passed with stages
in 12 minutes and 49 seconds
......@@ -135,6 +135,30 @@ annotator application may change, but it essentially just lists annotated
points, in the order objects are created. It is a list of lists, in which each
sublist contains coordinates in ``(y, x)`` format (height, width).
Here is an example of the JSON file produced for 3 objects annotated on
Lenna_'s (resolution is 512 by 512): left, right eyes and nose tip,
respectively:
.. code-block:: json
[
[
[ 273, 248 ],
[ 264, 271 ],
[ 279, 285 ],
[ 280, 264 ]
],
[
[ 278, 322 ],
[ 264, 341 ],
[ 273, 357 ],
[ 282, 343 ]
],
[
[ 333, 317 ]
]
]
Zoom
----
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment