JamesSG2 / Handwriting-Conversion-Application

This app would take in multiple images of a persons handwriting and then analyze those images (using AI software) in order to create a simulator that would then be able to output your personal handwriting as you type on a keyboard.
7 stars 0 forks source link

Line of code (for me) prevents finding of images #18

Closed BigWub67 closed 3 years ago

BigWub67 commented 3 years ago

This line of code: problem1 Makes this happen: problem2 Basically, it prevents the program (for me) from finding the files correctly for me anywhere it shows up (in this instance, it happened in the main method in main.py in the feature-output branch).

When I comment it out: problem3 It actually works: problem4

This is probably occurring because I'm running the code with VS Code which just runs the code.

It shouldn't matter when we get the GUI going though since it will pass through the whole path, but I felt like I should bring this up.

rover-t commented 3 years ago

Okay, that probably happens because of how the initial directory is set. The way it is for me the directory starts out in the \src\ folder, so I move it up one directory to the \Handwriting-Coversion-Application\ folder, so it can then look in the \output\ and \data\ folders. If you are using VS Code, then maybe it starts in the project folder, which is probably \Handwriting-Coversion-Application.