Skip to content
Snippets Groups Projects
Commit 1e2dfe3b authored by Amir Mohammadi's avatar Amir Mohammadi
Browse files

[doc] fix print command for python 3

parent d1939dbd
Branches
Tags
1 merge request!12Fix the documentation to use bob.ip.facedetect instead of opencv
Pipeline #
...@@ -66,7 +66,7 @@ The code below shall detect most frontal faces in a provided image: ...@@ -66,7 +66,7 @@ The code below shall detect most frontal faces in a provided image:
>>> bounding_box, quality = bob.ip.facedetect.detect_single_face(lena) >>> bounding_box, quality = bob.ip.facedetect.detect_single_face(lena)
>>> y, x = bounding_box.topleft >>> y, x = bounding_box.topleft
>>> height, width = bounding_box.size >>> height, width = bounding_box.size
>>> print(y, x, height, width) >>> print((y, x, height, width))
(...) (...)
.. note:: .. note::
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment