Image-Measurer is a sophisticated Python application that enables users to interactively measure distances on an image. It uses the PyQt5 library to provide an intuitive and user-friendly interface for drawing lines and making measurements, with the option to save your work as an image file.
- Interactive Measurements: Draw lines directly on the image to measure distances.
- Real-World Scaling: Calibrate your measurements by providing a real-world reference distance.
- Zooming and Panning: Use the mouse wheel to zoom in and out of the image, and the right mouse button to pan.
- Save Your Work: Save your measurements as a PNG, JPEG, or other image format.
To use Image-Measurer, you'll need the following:
- Python 3.8 or later
- PyQt5
- numpy
-
Install the necessary Python packages using pip:
pip install PyQt5 numpy
-
Clone this repository to your local machine:
git clone https://github.com/ozgurural/image-measurer.git
-
Navigate to the cloned repository:
cd image-measurer
-
Run the program:
python image_measurer.py
Once the application is running, use the "File" menu to open an image. You can then click on the image to begin measuring distances.
We welcome contributions! If you find a bug, have a feature request, or just want to improve Image-Measurer, feel free to open an issue or make a pull request.
This project is licensed under the terms of the MIT license.