def run_all_local():
 file_name = os.path.join(os.path.dirname(__file__), 'resources/wakeupcat.jpg')
 detect_labels(file_name)
 file_name = os.path.join(os.path.dirname(__file__), 'resources/landmark.jpg')
 detect_landmarks(file_name)
 file_name = os.path.join(os.path.dirname(__file__), 'resources/face_no_surprise.jpg')
 detect_faces(file_name)
 file_name = os.path.join(os.path.dirname(__file__), 'resources/logos.png')
 detect_logos(file_name)
 file_name = os.path.join(os.path.dirname(__file__), 'resources/wakeupcat.jpg')
 detect_safe_search(file_name)
 " TODO: Uncomment when https://goo.gl/c47YwV is fixed\n    file_name = os.path.join(\n        os.path.dirname(__file__),\n        'resources/text.jpg')\n    detect_text(file_name)\n    "
 file_name = os.path.join(os.path.dirname(__file__), 'resources/landmark.jpg')
 detect_properties(file_name)

def run_all_local ( ) : file_name = os . path . join ( os . path . dirname ( __file__ ) , 'resources/wakeupcat.jpg' ) detect_labels ( file_name ) file_name = os . path . join ( os . path . dirname ( __file__ ) , 'resources/landmark.jpg' ) detect_landmarks ( file_name ) file_name = os . path . join ( os . path . dirname ( __file__ ) , 'resources/face_no_surprise.jpg' ) detect_faces ( file_name ) file_name = os . path . join ( os . path . dirname ( __file__ ) , 'resources/logos.png' ) detect_logos ( file_name ) file_name = os . path . join ( os . path . dirname ( __file__ ) , 'resources/wakeupcat.jpg' ) detect_safe_search ( file_name ) file_name = os . path . join ( os . path . dirname ( __file__ ) , 'resources/landmark.jpg' ) detect_properties ( file_name )
runs all available detection operations on the local resources .