We tried several methods to use OCR to identify users' ID. The first is the full-card recognition. However, its recognition efficiency is too low and it will record a lot of useless information. The second is to use numbers to give a specific range but the generality is poor. This method is influenced by the size of images and the type of cards. Finally, we used on_mouse in Python to solve this problem.
After implementation: When users hold down the left mouse button and do not move, a circle will appear on the picture. When users hold down the left button and drag the mouse, a rectangle will be drawn. Finally, when the mouse is released, a red selection box appears and hit a random keyboard key will end the program.
We tried several methods to use OCR to identify users' ID. The first is the full-card recognition. However, its recognition efficiency is too low and it will record a lot of useless information. The second is to use numbers to give a specific range but the generality is poor. This method is influenced by the size of images and the type of cards. Finally, we used on_mouse in Python to solve this problem.
After implementation: When users hold down the left mouse button and do not move, a circle will appear on the picture. When users hold down the left button and drag the mouse, a rectangle will be drawn. Finally, when the mouse is released, a red selection box appears and hit a random keyboard key will end the program.