Skip to content

Count, Detection and Measure rice in an image or video capture

Notifications You must be signed in to change notification settings

jaithehuman/rice_detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rice_detection

This project is use for detections of rice in an image or video capture using open-cv python

Features

This program will determine ...

  • Number of rice
  • Size of each rice
  • Categorized different types of rice (Not Finished)

Installation

First, clone this repository

$ git clone https://github.com/jaithehuman/rice_detection/

then install the requirements

$ cd rice_detection
$ pip install -r requirements.txt

Usage

Run image.py to detect from dataset.

To use webcam.py, you need a webcam and proper background to detect rice accurately. The webcam needs to be installed in a topview manner.

Important

One measured object need to be placed at the top left position of an image. In from the dataset, I used a 20 mm coin. If you want to use different size objects, you have to change the following value...

pixelsPerMetric = dB / 0.787402  ## change 0.787 to the object size in inch unit

About

Count, Detection and Measure rice in an image or video capture

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published