Closed DevParapalli closed 5 years ago
Exactly. Lines 24 and 25 are what you are going to want to change if your display is different.
The values are from the top left, which start at 0,0
You may need to resize the current images saved in data. You might be able to get away with not creating all new images. MSE has to take in 2 images that are the exact width and height. If you create new images, you could keep them the same size and compare them with your images captured on line 24&25 in detect_gun.py. I imagine the error returned might be a little higher but that's okay.
that it's normal? But not working for me :(
The true or false you see is a simple log to verify when you're clicking the mouse or not. There is a weird issue I have noticed where sometimes things will freeze. (This is due to the hooking libraries used. I attempted to mitigate such freezes by spawning threads, which helps most of the time.) When starting the program, I suggest not clicking anywhere in the prompt, but instead having your first click be in the apex window.
When you scroll, you'll also see a number and list show up. This is the gun detection system logging.
TL;DR:
Closing as no response from OP
Do I change the values in line 24 && 25 of file detect_gun.py for the correct capture? are the values from top left? do i need to resize the present images?