Skip to content
Snippets Groups Projects

[doc] change the title of the guide

Merged Amir MOHAMMADI requested to merge doc into master
2 files
+ 5
9
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -5,14 +5,11 @@ import bob.ip.facedetect
import bob.ip.draw
# load colored test image
import pkg_resources
color_image = bob.io.base.load(bob.io.base.test_utils.datafile('testimage.jpg', 'bob.ip.facedetect'))
# detect single face
bounding_box, _ = bob.ip.facedetect.detect_single_face(color_image)
# create figure
from matplotlib import pyplot
import numpy
bob.ip.draw.box(color_image, bounding_box.topleft, bounding_box.size, color=(255,0,0))
pyplot.imshow(numpy.rollaxis(numpy.rollaxis(color_image, 2),2))
bob.ip.draw.box(color_image, bounding_box.topleft, bounding_box.size, color=(255, 0, 0))
bob.io.image.imshow(color_image)
Loading