Ive spent all day boiling hot, thankfully not sweating tho.
But ive also been working on the gui, and i think most of the main functionality is up and working.

It should be pretty self explanatory. the layout sucks ass, but it works and i wont be look at it all the time anyway.
So when you start the app, you have to turn the camera on, I dont know why i decided to have it boot without the camera on, but i did, so... π€·ββοΈ
After turning the camera on, you can control the motors, (still need to implement the take up reel stuff).
The frame counter is more of a "session reset", the idea is that when you put a new film on the machine, u reset the counter.
Resetting the counter resets the frame count back to 0, but also changes the output image names to the current date/time. Behind the scenes, it also resets the learned count for that reel.
When you are ready to start scanning, press the "Find Frame" button, it will then advance the film very slowly until the sprocket holes are both detected. The start capture button will be enabled.
When pressing the Start capture button, it will capture the first frame immediately, it will then "learn" the film. Basically all it does is advance the film really slowly, counting the steps, when the next frame is found (the sprocket holes), it will capture the frame, and then slowly go to the next frame. It does 5 frames like this (or whatever you set it to in the config), then it uses the average number of steps on the motor it took to reach the next frame, and uses that (minus an offset) to get to the next frame. It saves a decent amount of time over the length of a reel of film.
I haven't finished yet, and i haven't tested how fast it is.
I will continue to work on it, but at the moment, im going to eat a fab lolly.
