Skip to main content
HomePython

project

Naïve Bees: Predict Species from Images

Beginner
Updated 06/2024
Build a model that can automatically detect honey bees and bumble bees in images.
Start project for free

Included withPremium or Teams

PythonData ManipulationData VisualizationMachine Learning1 hour11 Tasks1,500 XP7,149

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.
Group

Training 2 or more people?

Try DataCamp for Business

Loved by learners at thousands of companies

Project Description

Naïve Bees: Predict Species from Images

Can a machine distinguish between a honey bee and a bumble bee? Being able to identify bee species from images, while challenging, would allow researchers to more quickly and effectively collect field data. In this project, you will use the Python image library Pillow to load and manipulate image data, then build a model to identify honey bees and bumble bees given an image of these insects. This project is the second part of a series of projects that walk through working with image data, building classifiers using traditional techniques, and leveraging the power of deep learning for computer vision. Before taking this project, it will help to have completed [Naïve Bees: Image Loading and Processing](https://www.datacamp.com/projects/374).

Naïve Bees: Predict Species from Images

Build a model that can automatically detect honey bees and bumble bees in images.
Start project for free
  • 1

    Import Python libraries

  • 2

    Display image of each bee type

  • 3

    Image manipulation with rgb2gray

  • 4

    Histogram of oriented gradients

  • 5

    Create image features and flatten into a single row

  • 6

    Loop over images to preprocess

  • 7

    Split into train and test sets

  • 8

    Scale training and test features

  • 9

    Perform PCA

  • 10

    10.Train and score our model

  • 11

    ROC curve + AUC

FAQs

Join over 15 million learners and start Naïve Bees: Predict Species from Images today!

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.