Science Score: 57.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.4%) to scientific vocabulary
Last synced: 10 months ago · JSON representation ·

Repository

Basic Info
  • Host: GitHub
  • Owner: Javi-RS
  • License: mit
  • Language: Python
  • Default Branch: main
  • Size: 10.6 MB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 4 years ago · Last pushed over 1 year ago
Metadata Files
Readme License Citation

README.md

CottonYieldEstimation Containerization

This repository houses essential files and test images for containerizing our web app designed to estimate cotton yield from aerial imagery. This work is a key part of the research paper titled "Cotton Yield Estimation From Aerial Imagery Using Machine Learning Approaches," published in the journal Frontiers in Plant Science. You can find the paper here.

Our web app utilizes Flask and gunicorn to operate an SVM pixel classifier, enabling accurate cotton yield estimation from 2D imagery. To streamline deployment, a Docker container image is available at javirodsan/yieldestimation:latest on Docker Hub. This Docker image is based on python:3.8-slim-buster and OpenCV and automatically installs all required libraries for seamless execution of the web app.

Running the container

You can download the container image (~880MB) to your local machine by pulling it from the remote repository:

docker pull javirodsan/yieldestimation:latest

Or you can run it directly:

docker run -ti -p 8080:8080 javirodsan/yieldestimation:latest Note that this command also does a docker pull behind the scenes to download the image with latest tag.

Using the web app

You should be able to see the Flask application running on http://localhost:8080 or 127.0.0.1:8080

Select image analysis from the drop down menu and upload an image to analyze. Finally, click proess image to start the estimation of yield. Please be patient, the analysis can take some time.


Authors

Find us on GitHub


Acknowledgments

Thanks to Rui Xu for his assistance in collecting aerial images; Tsunghan Han, Shangpeng Sun, and Jon S. Robertson for helping in the manual harvesting of the cotton bolls for ground truthing; Man Wah Aw for his assistance in image annotation; and Ellen Skelton for providing the vegetal material.


License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Owner

  • Login: Javi-RS
  • Kind: user

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Rodriguez-Sanchez"
  given-names: "Javier"
  orcid: "https://orcid.org/0000-0003-0141-7564"
- family-names: "Changying"
  given-names: "Li"
- family-names: "Paterson"
  given-names: "Andrew H."
title: "Cotton Yield Estimation From Aerial Imagery Using Machine Learning Approaches"
doi: 10.3389/fpls.2022.870181
date-released: 2022-04-16

GitHub Events

Total
  • Push event: 2
Last Year
  • Push event: 2

Dependencies

Dockerfile docker
  • python 3.8-slim-buster build
requirements.txt pypi
  • flask >=2.2.2
  • gunicorn ==20.0.4
  • joblib ==1.3.1
  • matplotlib ==3.7.2
  • numpy ==1.24.4
  • opencv-python ==4.5.3.56
  • pandas ==1.1.3
  • pillow ==9.0.1
  • scikit-learn ==1.3.0
  • seaborn ==0.11.0