The Amazon Archaeological Discovery Platform is designed to predict and analyze archaeological sites within the Amazon Basin, integrating advanced machine learning models, satellite data, indigenous group information, and professional computer vision techniques. The platform uses real-world data to predict the locations of potential archaeological sites, providing a deeper understanding of ancient civilizations and their environmental interactions.
- Features
- Project Structure
- Requirements
- Installation Guide
- Running Your First Example
- Usage
- Methodology
- Contributing
- License
- Google Earth Engine Authentication
- Predict archaeological site locations using machine learning algorithms based on historical, environmental, and indigenous data.
- Incorporate satellite imagery from NASA and ESA to enhance the prediction of archaeological sites.
- Use OpenAI GPT-4 for generating detailed reports and analyses of archaeological findings.
- Visualize archaeological sites and their proximity to geographical features (rivers, elevation) using Folium and GeoPandas.
- Advanced logging system tracks operations, API requests, and analysis outcomes to ensure smooth processing.
amazon-archaeological-platform/
├── Research.py # Research dashboard
├── Discovery.py # Discovery dashboard
├── requirements.txt # Python dependencies
├── README.md # Project overview and instructions
└── LICENSE # MIT License
- Python: Version 3.11
- Streamlit: For building the web interface
- Scikit-learn: For machine learning algorithms (RandomForest, SVM, etc.)
- GeoPandas: For geospatial data processing (optional)
- Plotly: For visualizing geospatial data and analyses
- Clone the repository:
git clone https://github.com/OpenAI-prodigal.git
cd OpenAI-prodigal- Create and activate a Python virtual environment:
python3.12 -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate- Install the required dependencies:
pip install -r requirements.txt- Run the Streamlit app:
streamlit run Research.pystreamlit run Discovery.py-
The system will ask for API keys and credentials.
-
The platform will analyze the data and provide archaeological site predictions and insights.
-
Data Collection
-
The platform integrates data from:
- Verified archaeological site records
- Environmental and geospatial data (satellite imagery, soil types, river systems)
- Indigenous territories and traditional earthworks
-
-
Machine Learning Models
- Feature Engineering: Includes data like latitude, longitude, elevation, rainfall, and structure count.
- Model Training: Models are trained on historical site data to predict site locations.
-
Geospatial Analysis
- Uses GeoPandas and Folium to visualize site locations in relation to geographical features.
-
AI-Powered Insights
- OpenAI GPT-4 provides in-depth analysis of predictions and generates detailed archaeological reports.
-
Site Clustering
- DBSCAN clustering groups nearby archaeological sites, identifying regions of historical significance.
To use Earth Engine (GEE) in this platform, you must authenticate your account and set up the project ID for your platform's integration with GEE.
-
Create a Google Cloud Project and Enable Earth Engine:
- Navigate to the Google Cloud Console.
- Create a new project, or select an existing project.
- Search for Google Earth Engine API in the APIs & Services section and enable it.
- Under the IAM & Admin section, ensure that you have the necessary permissions, especially
ViewerorEditor.
-
Get Your Project ID:
- Once your project is set up, navigate to the Dashboard of the Google Cloud Console.
- You'll find your Project ID in the top right corner under the Project Info section. This is the ID you'll use for authentication.
-
Authenticate Earth Engine:
-
First, install the Earth Engine Python package:
pip install earthengine-api
-
Then, run the following command to authenticate your account:
earthengine authenticate
-
This will prompt you to visit a URL, sign in with your Google account, and authorize Earth Engine.
-
-
Set the Project ID:
-
In your Python code (specifically in
Research_Platform.pyorDiscovery_Platform.py), you need to authenticate and set the project ID. Add the following snippet to your code:import ee ee.Initialize(project='your-project-id-here')
-
Replace
your-project-id-herewith your actual Google Cloud project ID.
-
-
Verify Authentication:
-
After authenticating, verify the setup by running:
import ee ee.Initialize()
If successful, you will be able to use Earth Engine for processing satellite data within the platform.
-
We welcome contributions! Please see the CONTRIBUTING.md file for guidelines on how to contribute to the platform.
This project is licensed under the MIT License. See LICENSE for more details.