Fruit Ripeness Grading: Smartphone-Image-Based Ripeness Classification of Tomatoes and Strawberries

Introduction

Harvest timing often determines taste and shelf performance, but visual assessment of color change, coloring ratio, and gloss is unstable. This is especially true in greenhouses, home gardens, or smart planters where frequent photography is done without unified evaluation standards, making it difficult for growers and cooperatives to make consistent decisions regarding the “Mature-Green, Turning, Ripe, and Over-Ripe” stages. Below is an introduction to the SkillHub community skill Fruit Ripeness Grading | 番茄/草莓果实成熟度分级. It submits fruit images captured by a mobile phone or planter to AI visual analysis and outputs maturity levels based on preset standards.

What is this

This is a Fruit Ripeness Grading Agent Skill designed for tomatoes and strawberries. Its coordinate is @user_bb47e3e3/fruit-ripeness-grading-analysis, version 1.0.0, sourced from community, categorized as life-service, and maintained by the publisher user_bb47e3e3.

The skill utilizes fruit images captured by a smart planter or mobile phone to perform AI visual detection on color, colored area, gloss, and relative size. These are then mapped to four maturity levels: Mature-Green, Turning, Ripe, and Over-Ripe. The goal is to assist in determining the optimal harvest window while balancing flavor and commercial quality.

Official Page:

  • SkillHub: https://www.skillhub.cn/skills/user_bb47e3e3/fruit-ripeness-grading-analysis
  • API Entry: https://api.skillhub.cn/user_bb47e3e3/fruit-ripeness-grading-analysis

Key Features

The following capabilities are derived from the official description. Interface fields not listed separately on the page are not described in detail.

  1. Color Detection: Identifies levels such as green, light green, orange, red, dark red, etc.
  2. Coloring Ratio: Estimates the percentage of the fruit surface that has undergone color change.
  3. Gloss: Used as an analytical dimension for surface condition.
  4. Relative Fruit Size: Used to estimate the relative size of the fruit when a reference object is present in the frame.
  5. Maturity Level Output: Categorized into Mature-Green / Turning / Ripe / Over-Ripe according to preset standards (corresponding to Chinese: 青熟期 / 转色期 / 成熟期 / 过熟期).

The page tag indicates requires_api_key=true. Before enabling, you must configure the API Key according to the requirements of SkillHub and the skill provider. Specific variable names are subject to the documentation within the skill package after installation.

Installation and Activation

The SkillHub official page requires reading the installation documentation first before installing this skill coordinate; skill operations must be performed via the skillhub CLI and by specifying the current Agent’s skills directory.

# Check if SkillHub CLI is installed
command -v skillhub && skillhub --version

If not installed, you can perform a full installation or install the CLI only by following the SkillHub installation documentation:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

When installing this skill, --dir must point to the skills directory recognized by the current environment. For example, Cursor commonly uses ~/.cursor/skills/, Claude Code uses ~/.claude/skills/, Codex uses ~/.codex/skills/ or .agents/skills/ within the project. Please refer to Section 4 of https://skillhub.cn/install/skillhub.md for specific details.

skillhub install @user_bb47e3e3/fruit-ripeness-grading-analysis --dir <skills directory>

You can also install @user_bb47e3e3/fruit-ripeness-grading-analysis within the Agent by following the prompts on the page, referring to https://skillhub.cn/install/skillhub.md. Call the skill after configuring the API Key.

Typical Usage

The public page does not include copyable CLI or code examples. In practice, you can use it in the following sequence: “Capture Image -> Load Skill -> Submit Image Analysis -> Read Level and Indicators”:

  1. Use a mobile phone to capture the target fruit in a smart planter, greenhouse, or field; try to ensure consistent lighting. If relative size is required, keep the same reference object in the frame.
  2. In the Agent environment where the Skill is enabled, describe the crop type (tomato or strawberry) and attach the image.
  3. Decide the harvest or batch harvesting plan based on the returned maturity level (Mature-Green / Turning / Ripe / Over-Ripe) and the indicators such as color, coloring ratio, and gloss.

Specific prompts and return structures are subject to SKILL.md within the package; this article does not fabricate example outputs.

Suitable Scenarios and Notes

Suitable: Smart planters, greenhouses, home gardens, fruit and vegetable cooperatives, and other scenarios requiring unified maturity evaluation based on images.

Notes:

  • The skill description currently explicitly supports Tomatoes and Strawberries; applicability for other crops is subject to the skill documentation.
  • Lighting, background, and occlusion will affect visual features; shooting conditions should be kept as consistent as possible.
  • As a community-sourced (community) skill, behavior and standards are subject to updates from the publisher; confirm the version number on the page before use.
  • SkillHub Page Statistics: Rating 100000, Downloads 602.

Conclusion

Fruit Ripeness Grading | 番茄/草莓果实成熟度分级 converges “judging maturity by visual inspection” into a reusable AI visual workflow and outputs a four-level grade directly related to harvest decisions. When integrating, please refer to the official page https://www.skillhub.cn/skills/user_bb47e3e3/fruit-ripeness-grading-analysis and the installation documentation https://skillhub.cn/install/skillhub.md.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye