#NEWLINE# def testDetectorHarris3( self ) : #NEWLINE# #INDENT# detector = DetectorHarris ( ) #NEWLINE# filename = os . path . join ( pv . __path__ [ 0 ] , 'data' , 'nonface' , 'NONFACE_22.jpg' ) #NEWLINE# im = pv . Image ( points , bw_annotate = True ) #NEWLINE# points = detector . detect ( im ) #NEWLINE# for ( _ , pt , _ ) in points : #NEWLINE# #INDENT# im . annotatePoint ( pt ) #NEWLINE# #UNINDENT# if self . SHOW_IMAGES : #NEWLINE# #INDENT# im . show ( ) #NEWLINE# #UNINDENT# self . assertEquals ( len ( points ) , 390 )