GithubHelp home page GithubHelp logo

julianagomez / colombian_wildlife_classification Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 304.59 MB

A computer-based approach to classifying camera trap images of Colombian mammals

License: GNU General Public License v3.0

Jupyter Notebook 100.00%

colombian_wildlife_classification's Introduction

colombian_wildlife_classification

A computer-based approach to classifying camera trap images of Colombian mammals

Authors

Henry Gardner, Juliana Gómez Consuegra, Jacqueline Lam and Eunice Ngai Emails: henrygardner, julianagc, jacq, eunicen @berkeley.edu

Feel free to contact the authors if you have any questions or comments.

Abstract

This paper presents a computer vision approach to classifying Colombian wildlife through camera traps in the Orinoquia region. Utilizing a dataset originally consisting of over 100,000 images from 50 cameras, we aim to classify the following six animal species or genus: Peccary genus (collared and white-lipped), Black Agouti, Spotted Paca, Dasypus Species, South American Coati, and Bos Species. Significant variation in class sizes, colored and monochrome images, animal movement, and depth variation presented difficult challenges that were addressed through various preprocessing and feature extraction techniques. We developed models using Linear Discriminant Analysis (LDA), Support Vector Machines (SVM), and Neural Networks (NN) to classify data into these six classes. The SVM model on the HOG feature vector demonstrated the highest performance, achieving 77% accuracy on the testing set. While there is potential for further improvement, these results represent a significant step towards automating a traditionally manual task that contributes to wildlife preservation.

Folder Structure

0_data

Here you will find the labels for each of our test sets:

  • dual_class_images.csv and dual_class_images: images containing more than one class per image were thus discarded.
  • test_downsampled.csv: contains the labels for our downsampled test set.
  • train_downsampled.csv: contains the labels for our downsampled train set.
  • val_downsampled.csv: contains the labels for our downsampled validation set.

You will also find the following folders:

  • Deprecated: contains the initial steps we took in our project to find datasets and load them into GCP
  • Sample_images: contains images for some of the classes, as part of our initial EDA for the project proposal.

1_proposal

Contains the files for our initial proposal for class 281 - computer vision.

  • 2 Minute Overview Notes: contains the elevator pitch for our project.
  • 281-Team-1-2 Project Proposal (doc and pdf): the initial proposal.

2_colab_notebooks

All of the code we used for our project is stored here, in the order used in our pipeline, as well as a folder, Archive, which includes previous iterations of our code. Here's the order of the pipeline:

  • 0: EDA
  • 1: Data splitting
  • 2: Data preprocessing
  • 3: Feature EDA
  • 4: Feature extraction, scaling and dimensionality reduction
    1. Classifiers (LDA, SVM, NN)
  • 6: Verification of train labels by visualizing images per class

3_output

Includes the deliverables for our project:

  • Final_report.pdf: The paper written for our project
  • Presentation: The slide deck with our project findings.

*_references

Includes scientific papers we read to research for relevant features for our project, as well as sample papers from past students, and the project rubric

*_team_notes

Includes information that guided our project:

  • Agenda 281-team-1-2: our weekly meeting minutes
  • Data_lineage: how the data is stored in GCP
  • Notes_and_Observations: of odd things we noticed in our data along the way.

colombian_wildlife_classification's People

Contributors

julianagomez avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.