Write a python code to create a interface using pyqt5, to upload image localhost using flask in back, use anyone ocr to detect and recognize the texts in the word and print line by line the text and position detected.