Science Score: 67.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
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.9%) to scientific vocabulary
Last synced: 7 months ago · JSON representation ·

Repository

Basic Info
  • Host: GitHub
  • Owner: cyn-jackal
  • License: agpl-3.0
  • Language: Python
  • Default Branch: main
  • Size: 1.63 MB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 2
  • Releases: 3
Created about 1 year ago · Last pushed 11 months ago
Metadata Files
Readme Contributing License Citation

README.md

Enhanced Real-Time Object Detection for Black Soldier Fly Larvae Classification Using YOLO11-DSConv

License: AGPL v3 Python Ultralytics YOLO <!-- DOI -->

Table of Contents

  1. Abstract
  2. Features

Abstract

Food waste represents a significant global challenge, contributing to resource depletion, greenhouse gas emissions, and climate change. Black Soldier Fly Larvae (BSFL) offer an effective solution for managing food waste due to their highly efficient decomposition capabilities. However, precise identification of larval instars is crucial for optimal feeding and resource utilization, as larvae at different stages share similar appearances with only subtle color variations.

This study introduces a mobile application designed for the automatic identification and detection of BSFL instars. The system distinguishes between:

  1. Instars 1 to 4 — Best suited for food waste processing and animal feed production.
  2. Instars 5 to 6 — Optimal for pupation and other industrial applications.

We employed the YOLO11 model for larval instar classification and detection, achieving an mAP50-95 of 0.811. Furthermore, we developed a modified YOLO11-DSConv variant, which replaces standard convolution with Depthwise Separable Convolution (DSConv). This modification result the mAP50-95 to 0.813 and enhanced computational efficiency. By integrating this system, the application of BSFL in food waste management and broader circular economy initiatives can be significantly improved, offering a more effective and intelligent approach to addressing global food waste challenges.


Features

  • Instar Classification: Automatically classify BSFL instars into two main groups (1–4, 5–6).
  • Enhanced Convolution: Utilizes Depthwise Separable Convolution (DSConv) for improved efficiency.
  • High Accuracy: Achieves mAP50-95 up to 0.813 while maintaining real-time performance.
  • Resource-Friendly: Suitable for mobile and embedded applications in resource-constrained environments.
  • Open Source: Built on Ultralytics YOLO for a robust detection framework.

Acknowledgement

The code base is built with Ultralytics YOLO.

Thanks for the great implementations!

How to!

  • How to run the project
  1. Installation : Install pytorch
  2. Install package and enable editable mode:

pip install -e .

  1. How to train model:

yolo train data=your_data_path_in_dot_yaml_type model=./ultralytics/cfg/models/mod/yoloModx.yaml name=your_model_name epochs=200 batch=16 imgsz=640 device=[0]

If you have multi-GPU for train use device=[0,1]


Citation

If our code or models help your work, please cite our paper:

@article{Pookunngern2025yolo11dsconv, author = {An-Chao Tsai, Chayanon Pookunngern}, title = {Enhanced Real-Time Object Detection for Black Soldier Fly Larvae Classification Using YOLO11-DSConv}, journal = {The Visual Computer}, year = {2025}, note = {In press} }

Owner

  • Name: AAOMM
  • Login: cyn-jackal
  • Kind: user

Citation (CITATION.cff)

# This CITATION.cff file was generated with https://bit.ly/cffinit

cff-version: 1.2.0
title: YOLO11-DSConv (Fork of Ultralytics YOLO)
message: >-
    If you use this software, please cite it using the
    metadata from this file.
type: software
authors:
    # contributors:
    - given-names: Chayanon
      family-names: Pookunngern
      affiliation: NPTU
    - given-names: Tsai
      family-names: An-Chao
      affiliation: NPTU
    # Original authors
    - given-names: Glenn
      family-names: Jocher
      affiliation: Ultralytics
      orcid: "https://orcid.org/0000-0001-5950-6979"
    - family-names: Qiu
      given-names: Jing
      affiliation: Ultralytics
      orcid: "https://orcid.org/0000-0003-3783-7069"
    - given-names: Ayush
      family-names: Chaurasia
      affiliation: Ultralytics
      orcid: "https://orcid.org/0000-0002-7603-6750"

# repository-code: 'https://github.com/ultralytics/ultralytics' original repo
repository-code: "https://github.com/cyn-jackal/YOLO11-DSConv"
url: "https://ultralytics.com"
license: AGPL-3.0
version: 1.1.0
date-released: "2025-03-18"

GitHub Events

Total
  • Release event: 3
  • Delete event: 1
  • Issue comment event: 7
  • Push event: 10
  • Public event: 1
  • Pull request event: 4
  • Create event: 8
Last Year
  • Release event: 3
  • Delete event: 1
  • Issue comment event: 7
  • Push event: 10
  • Public event: 1
  • Pull request event: 4
  • Create event: 8

Dependencies

.github/workflows/ci.yaml actions
  • actions/checkout v4 composite
  • actions/setup-python v5 composite
  • astral-sh/setup-uv v4 composite
  • astral-sh/setup-uv v3 composite
  • codecov/codecov-action v5 composite
  • conda-incubator/setup-miniconda v3 composite
  • slackapi/slack-github-action v2.0.0 composite
  • ultralytics/actions/cleanup-disk main composite
.github/workflows/cla.yml actions
  • contributor-assistant/github-action v2.6.1 composite
.github/workflows/docker.yaml actions
  • actions/checkout v4 composite
  • docker/login-action v3 composite
  • docker/setup-buildx-action v3 composite
  • docker/setup-qemu-action v3 composite
  • slackapi/slack-github-action v2.0.0 composite
  • ultralytics/actions/cleanup-disk main composite
  • ultralytics/actions/retry main composite
.github/workflows/docs.yml actions
  • actions/checkout v4 composite
  • actions/setup-python v5 composite
  • astral-sh/setup-uv v4 composite
.github/workflows/format.yml actions
  • ultralytics/actions main composite
.github/workflows/links.yml actions
  • actions/checkout v4 composite
  • ultralytics/actions/retry main composite
.github/workflows/merge-main-into-prs.yml actions
  • actions/checkout v4 composite
  • actions/setup-python v5 composite
.github/workflows/publish.yml actions
  • actions/checkout v4 composite
  • actions/setup-python v5 composite
  • pypa/gh-action-pypi-publish release/v1 composite
  • slackapi/slack-github-action v2.0.0 composite
.github/workflows/stale.yml actions
  • actions/stale v9 composite
examples/YOLO-Series-ONNXRuntime-Rust/Cargo.toml cargo
examples/YOLOv8-ONNXRuntime-Rust/Cargo.toml cargo
docker/Dockerfile docker
  • pytorch/pytorch 2.5.0-cuda12.4-cudnn9-runtime build
pyproject.toml pypi
  • matplotlib >=3.3.0
  • numpy <2.0.0; sys_platform == 'darwin'
  • numpy >=1.23.0
  • opencv-python >=4.6.0
  • pandas >=1.1.4
  • pillow >=7.1.2
  • psutil *
  • py-cpuinfo *
  • pyyaml >=5.3.1
  • requests >=2.23.0
  • scipy >=1.4.1
  • seaborn >=0.11.0
  • torch >=1.8.0
  • torch >=1.8.0,!=2.4.0; sys_platform == 'win32'
  • torchvision >=0.9.0
  • tqdm >=4.64.0
  • ultralytics-thop >=2.0.0