Coder Social home page Coder Social logo

immanuvelprathap / custom_object_detetection---broccoli_plant-dronefootage Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 1.0 15.85 MB

Python 0.65% Jupyter Notebook 99.35%
yolov3 darknet-yolo dronefootages googlecolab yolov3-custom-data-training python3 yolov-cnn cuda-kernels

custom_object_detetection---broccoli_plant-dronefootage's Introduction

Custom_Object_Detetection-Broccoli_Plant-DroneFootage

Build Status

In this Repo, I show you how computer vision and artificial intelligence can help improve production and save money. This is done by automating processes that normally have to be done by manual work. I will speak in particular of Agriculture plant analysis with the drone and Artificial Intelligence.

It doesn’t take a lot of imagination or skill in predicting the future to understand how artificial intelligence has entered all industries. In particular, 2021 is the year of agriculture, in this article 10 Ways AI Has The Potential To Improve Agriculture In 2021 forbs there are some possible applications. I will show you an example. Intel with Intel-Powered AI Helps Optimize Crop Yields also makes us understand that the future is now. You can produce more with fewer resources.

LET'S START!

  • We will analyze a video footage over broccoli plantation with the aim of detecting the broccoli plant/crop to have an estimation of homogeneity in crop plants.
  • To make an estimate of homogeneity in cultivated plants, one would have to manually count thousands of plants with huge waste of time and the risk of error. Without considering the problem of photographing or checking plant by plant in order to verify the growth, if it is damaged or other parameters.
  • Everything can be done by writing software that leverages computer vision and AI in real-time. Just fly the drone over the cultivated field.

1 Object detection

First, we need to recover a lot of images. We need to have all these images so that we can train any deep learning model to identify and cut out things that it has never seen before. There are many models of artificial intelligence and object detection, for this example I will use YOLOv3 because in this case, it is the easiest to use in a not particularly complex operation.

Train the model

To make the artificial intelligence model recognize new objects, in our case YOLOv3, it is necessary to teach it what a broccoli is. You can find the python code to automatically extract the images from the video and save them in a folder here - (https://github.com/immanuvelprathap/Custom_Object_Detetection-Broccoli_Plant-DroneFootage/blob/main/data/video_to_frame.py).

To have a great result it is always necessary to have photos with different types of lighting, different positions, backgrounds and contexts. This must be done so that the drone can recognize plants even when it is cloudy or when there is a lot of light.

Now you need to use image labeling software to identify the location of each broccoli plant on the images we downloaded earlier from the video. This software generates a .txt file associated with each image in which it indicates the exact position of all the plants present in the image.

Use the trained model

All this information must be passed to the training algorithm to make sure that the drone, thanks to artificial intelligence, recognizes the plants. In the photo here is the result.

Play the Video to see the Results!

final_video_compressed4.mp4

COMING SOON...STAY TUNED!

2 Object Tracking

To associate a univocal ID to each crop

3 Object Counting

To count the crops

4 Take crops snapshots

To save the picture of every single crop

Technologies Used

Team

[Immanuvel Prathap's Website - Click Here!]

License

Credits

References for researcher

FarmBeats: AI, Edge & IoT for Agriculture

10 Ways AI Has The Potential To Improve Agriculture In 2021

Intel-Powered AI Helps Optimize Crop Yields

custom_object_detetection---broccoli_plant-dronefootage's People

Contributors

immanuvelprathap avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

muhia2018

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.