Beispiel #1
0
def adjust(response):
    recognizer = Recognizer()

    PATH = response.GET["canvasURL"]
    text = response.GET["text"]

    imgList = SymbolFinder.find(PATH)

    text = list(text)
    print(text)
    recognizer.adjust(imgList, text)
    return HttpResponse("Adjusting was successful")