Giter Club home page Giter Club logo

nclb-detector's Introduction

Overview

This repo provides results presented in this paper on detecting Northern Corn Leaf Blight in images.

Dependencies

  1. Darknet
    We train a neural network using the YoloV4 framework, which relies on darknet. Instruction to install darknet's dependencies can be found here

  2. Northern Corn Leaf Blight Dataset
    We used a dataset documenting Northern Corn Leaf Blight that was procured by Mohatney et al, which can be found here in order to train our neural network.

    Note: We specifically trained on a subset of the handheld data that contained only 1 instance of Northern Corn Leaf Blight in the image, to lessen the requirements of image augmentation.

Training the custom model

Instruction for training a YoloV4 model from scratch can be view on colab (aqcuired from YoloV4 documentation wiki).

All necessary yolov4 dependencies are provided in the yolov4 directory of this repo.

Inference the model

Download and configure darknet:

git clone https://github.com/AlexeyAB/darknet
cd darknet
sed -i 's/OPENCV=0/OPENCV=1/' Makefile
sed -i 's/GPU=0/GPU=1/' Makefile
sed -i 's/CUDNN=0/CUDNN=1/' Makefile
sed -i 's/CUDNN_HALF=0/CUDNN_HALF=1/' Makefile
make

Run model on test data:

./darknet/darknet detector test yolov4/obj.data yolov4/yolov4-nclb.cfg yolov4/yolov4-nclb_best.weights demo/augmentations/00000050.jpg -thresh 0.3

nclb-detector's People

Contributors

blakeerichey avatar

Watchers

James Cloos avatar  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.