Open subha-v opened 2 years ago
Additionally, the images and pages in the two folders must be named in a certain way, for the images it's image-000,image-001, and for the pages it's page-000, page-001. When creating the two folders, please keep this in mind for when naming the files
Instead of uploading paths of two folders (one containing jpgs of the images and one containing jpgs of the pages of the book), ideally the program would take a pdf as an input and be able to create two folders, one containing just the images and one containing just the pages in jpg format. Code for uploading the paths of two folders can be found in Main.py and CreatingPaths.py. Ideally the user in the Tkinter modal can just upload their pdf that wants to be translated and it automatically creates these two folders with paths.
(https://github.com/subha-v/StorybookImages/tree/master/Images/animalsrunaway-images This is an example of the folder of jpgs of images, and https://github.com/subha-v/StorybookImages/tree/master/Images/animalsrunaway-book this is an example of the folder of jpgs of book pages.)