Predict

image_file_to_json

def image_file_to_json(img_path)

image_dir_to_json

def image_dir_to_json(img_dir, img_type)

predict

def predict(model, data_generator)

main

def main(base_model_name, weights_file, image_source, predictions_file, img_format)