Skip to content

WildAnimalDetector is a machine learning project designed to detect wild animals, such as elephants, using OpenCV and TensorFlow. This project aims to help in monitoring and protecting areas from potential animal intrusions by accurately identifying specific animals.

Notifications You must be signed in to change notification settings

memidhun/Elephant-Detection-using-ML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

WildAnimalDetector

WildAnimalDetector is a machine learning project designed to detect wild animals, such as elephants, using OpenCV and TensorFlow. This project aims to help in monitoring and protecting areas from potential animal intrusions by accurately identifying specific animals. Right now the model is trained only for detecting elephants but the model will be updated frequently.

Table of Contents

Introduction

The WildAnimalDetector project uses computer vision and deep learning techniques to detect the presence of wild animals in real-time. It leverages OpenCV for image processing and TensorFlow for the machine learning model. The primary goal is to provide a reliable system for wildlife monitoring and prevention of human-wildlife conflicts.

Features

  • Real-time animal detection
  • High accuracy with pre-trained TensorFlow model
  • Easy integration with camera systems
  • Supports multiple animal species detection

Installation

To get started with WildAnimalDetector, follow these steps:

  1. Clone the repository:

    git clone https://github.com/memidhun/Elephant-Detection-using-ML
    cd WildAnimalDetector
  2. Install the required dependencies:

    pip install -r requirements.txt

requirements.txt

opencv-python-headless==4.5.5.64
tensorflow==2.9.1
numpy==1.21.6
Pillow==9.1.1
imutils==0.5.4

Usage

To run the animal detection model, use the following command:

python main.py

Ensure that your camera is properly connected and configured.

Model and Labels

The model and label files are included in the model directory. If you wish to use a different model, replace the existing files with your own.

  • model/saved_model.pb - The pre-trained TensorFlow model.
  • model/labels.txt - The label file containing the names of the detected animals.

Code

The main script to run the detection is main.py. This script loads the model, processes the video feed from the camera, and performs the detection in real-time.

Contributing

Contributions are welcome! If you have any suggestions or improvements, feel free to open an issue or submit a pull request.

License

This project has been applied to patents.

About

WildAnimalDetector is a machine learning project designed to detect wild animals, such as elephants, using OpenCV and TensorFlow. This project aims to help in monitoring and protecting areas from potential animal intrusions by accurately identifying specific animals.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages