predict_breeds.py
def predict_breed_for_human_only(self):
        """
        Predict which dog breeds the cropped image is resemble.
        cropped image includes only one detected face, so no need to run the whole process in improved_predict_breed function
        Parameters:
            img_path: a string-valued file path to an image
        Return:
            None
        """
        iV3_model = iV3(self.img_path)
        dog_filters = df(self.img_path)
        faces, BGR_img = self.Improved_OpenCV_face_detector()
        print('Hello, human!')
        dog_filters.apply_snapchat_filter()
        iV3_model.show_top5_result()

        Predict which dog breeds the cropped image is resemble.
        cropped image includes only one detected face, so no need to run the whole process in improved_predict_breed function
        Parameters:
            img_path: a string-valued file path to an image
        Return:
            None
        
Predict which dog breeds the cropped image is resemble.
cropped image includes only one detected face, so no need to run the whole process in improved_predict_breed function
Predict which dog breeds the cropped image is resemble . cropped image includes only one detected face so no need to run the whole process in improved_predict_breed function
def predict_breed_for_human_only(self):
        iV3_model = iV3(self.img_path)
        dog_filters = df(self.img_path)
        faces, BGR_img = self.Improved_OpenCV_face_detector()
        print('Hello, human!')
        dog_filters.apply_snapchat_filter()
        iV3_model.show_top5_result()
def predict_breed_for_human_only ( self ) : iV3_model = iV3 ( self . img_path ) dog_filters = df ( self . img_path ) faces , BGR_img = self . Improved_OpenCV_face_detector ( ) print ( 'Hello, human!' ) dog_filters . apply_snapchat_filter ( ) iV3_model . show_top5_result ( )
Predict which dog breeds the cropped image is resemble.
Predict which dog breeds the cropped image is resemble .
"""
        Predict which dog breeds the cropped image is resemble.
        cropped image includes only one detected face, so no need to run the whole process in improved_predict_breed function
        Parameters:
            img_path: a string-valued file path to an image
        Return:
            None
        """
self
img_path
a string-valued file path to an image
a string - valued file path to an image