##README
This project is inspired by the work of Schmid, A., Fischer, T., Weichart, A., Hartmann, A., & Wimmer, R. (2021), focusing on creating an application that allows smartphones to capture screenshots of computer screens. Currently, the application is in its preliminary stage and requires further work in terms of refactoring, bug fixing, and more. For screenshot matching, I'm utilizing the template matching method from OpenCV. More details about the method can be found in the OpenCV documentation.
Currently, the mobile app only supports Android devices. You can download the latest ttransfer.apk
from the release section. Make sure to grant the app permissions to access the camera and device storage. You can manually enter the host address and port number in mobile app.
The desktop component requires your computer to run the app.py
file found in the project folder. Before running, check your computer's IPv4 address and adjust the HOST
variable in the app.py
file accordingly. Also, ensure that you have Python installed on your computer, as the application is developed using Python. If you haven't installed Python, you can download it from the official Python website. You can also customize the port numbers in app.py according to your needs. Please ensure that the port number you set on both the mobile app and the app.py file on your computer are the same.
Additionally, make sure that your smartphone and computer are connected to the same Wi-Fi network. After these configurations, you can run the app.py
file to start the server. The mobile app will connect automatically when app.py
is running.
The crucial part is to keep the port consistent between the mobile app and the computer. Once the host and port are configured, you can use the mobile app to capture screenshots. The captured screenshots will be displayed on the mobile after taking the photo. You can save the photo to your phone's gallery by clicking the "Save" button.
Please note that this project is a work in progress, and contributions are welcome.
- Start page
- Configure Host and Port
- Screenshot match result
Sources for Mobile Icon and Startup Page Background:
This project is based on the research published in the paper ScreenshotMatcher - Taking Smartphone Photos to Capture Screenshots (2021).