KindleScreen is a Python application that captures screenshots at a specified frame rate and divides them into parts. The application uses Flask for the web interface and Flask-SocketIO for real-time updates.
- Captures screenshots at a specified frame rate (FPS).
- Maintains a specific aspect ratio for the screenshots.
- Divides screenshots into multiple parts and updates only the changed parts.
- Provides a web interface to view the screenshots.
- Sends real-time updates to the web interface when parts of the screenshots are updated.
-
Run the application:
python main.py
-
Open a web browser and navigate to
http://localhost:5000to view the web interface.
SAVE_DIR: Directory to save the screenshots.ASPECT_RATIO: Aspect ratio of the screenshots.WIDTH: Width of the screenshots.OUTPUT_SIZE: Size of the resized screenshots.FPS: Frame rate for capturing screenshots.X_PARTS: Number of parts in the X direction.Y_PARTS: Number of parts in the Y direction.