GeoSense is a simple Python application that helps identify minerals based on their physical properties. It uses a graphical user interface (GUI) built with Tkinter where users can enter mineral characteristics and compare them with a built-in mineral database.
- Simple and easy-to-use graphical interface
- Mineral identification using:
- Hardness (Mohs scale)
- Density
- Luster
- Streak color
- Displays the percentage match for each mineral
- Highlights the mineral with the highest matching score (above 50%)
- Contains a database of 40+ common minerals
- Python 3
- Tkinter (GUI)
- Python Dictionaries
- Message Boxes
- Enter the mineral's hardness.
- Enter its density.
- Enter the luster.
- Enter the streak color.
- Click the Submit button.
- The application compares the entered values with the mineral database.
- It displays the matching percentage for every mineral and suggests the closest match.
GeoSense/
βββ main.py
βββ README.md
- Clone this repository.
git clone https://github.com/your-username/GeoSense.git- Move into the project folder.
cd GeoSense- Run the program.
python main.py| Property | Example |
|---|---|
| Hardness | 7 |
| Density | 2.65 |
| Luster | vitreous |
| Streak | white |
The program compares these values with its database and displays the matching results.
- Add more mineral properties such as color and crystal system
- Improve the matching algorithm using weighted scoring
- Allow approximate numeric matching instead of exact values
- Add mineral images
- Export identification results
- Convert the application into a web application
This project helped me learn:
- Building desktop GUI applications using Tkinter
- Working with Python dictionaries
- Handling user input
- Using functions and loops
- Comparing datasets using simple matching logic
- Displaying results using message boxes
Created by *AryamanSharmaTheKing and nandinisharma19