This implements a real-time ore detection system in Minecraft using the YOLOv4-tiny neural network. The system analyzes the game screen to highlight ores, making resource gathering easier for players.
- Real-time detection of Minecraft ores.
- Utilizes YOLOv4-tiny for fast and efficient object detection.
- Customizable for different Minecraft versions and resource packs.
- Python 3.6 or higher
- OpenCV
- TensorFlow
- PyTorch
- Other dependencies in
requirements.txt
-
Clone the repository:
git clone https://github.com/M117n/minecraft_ore_dectect.git
-
Navigate to the project directory:
cd minecraft_ore_dectect
- Install the required dependencies:
pip install -r requirements.txt
##Usage
- Start Minecraft in windowed mode.
- Run the detection script:
python detect.py
- The script will display a real-time feed with highlighted detected ores.
- Edit config.yaml to adjust parameters like confidence thresholds, model paths, or screen capture settings.
Contributions are welcome! Please fork the repository, create a new branch, and submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
- YOLOv4-tiny for the base detection model.
- OpenCV and TensorFlow communities for their tools and documentation.
##Contact For any questions or suggestions, please open an issue or contact the repository owner directly.