def predictRoute(): image = request.json['image'] decodeImage(image, clApp.filename) result = clApp.classifier.predictiondogcat() return jsonify(result)
def predictRoute(): image = request.json['image'] decodeImage(image, clApp.filename) result = clApp.objectDetection.getPrediction() return jsonify(result)