retourograf is a simple graphical user interface (GUI) application that enables you to capture photos using a Blink Camera System for personal use. This application uses Java and a Python script to interact with a Blink API provided by fronzbot.
- Enter a photo title using an easy-to-use GUI.
- Automatically send requests to the Blink API to capture and download photos.
- Exact file name matching to prevent duplicate file names.
- Display downloaded photos in a within the set folder.
- Java 17
- Gradle 8
- Swing for GUI
- JFormDesigner 8 for GUI Design
- Blinkpy as the Blink Camera Python API
- Python for the API interaction script
- MigLayout for flexible layout control
- Apache Commons Lang for additional functionality
- FlatLaf for modern flat look and feel
- Clone the repository:
git clone https://github.com/soeguet/PhotoCaptureGUI.git
. - Open the project in your favorite IDE.
- Optional: set picture folder path and credentials in python script (you will need to set up your venv)
- Start the project with
gradle run
in the terminal. - Enter a title for your photo in the text field and click "Take Photo" (will only work if step 3 was set up).
The photo will be captured and downloaded into the predefined folder. The application will then display the photo.
Since this program is used by me every day, I went with my personal naming preferences. Feel free to adjust it to your needs.
Furthermore, I did not provide a file path nor credentials for the python script (obviously), therefore the GUI will display the content of your project folder and it will not run the python script.
The file path can be provided in the GuiImpl class and the script is located in src/main/java/resources/scripts/main.py
.
Contributions, issues, and feature requests are welcome! Feel free to check issues page.