I am currently dealing with object recognition and decided to use Dlib, however python package cannot find the image_window() function on MS Windows machine.
The example code:
import dlib
from skimage import io
detector = dlib.get_frontal_face_detector()
img = io.imread('obama.jpg')
faces = detector(img)
for d in faces:
print "left,top,right,bottom:", d.left(), d.top(), d.right(), d.bottom()
win = dlib.image_window()
win.set_image(img)
win.add_overlay(faces)
I get the following error:
'module' object has no attribute 'image_window'
An answer is proposed on https://github.com/davisking/dlib/issues/7 , however since I downloaded the package via conda, I cannot recompile it.