Plums Sorting Computer Vision Model

byAimsTask:
Object Detection
License:CC BY 4.0131 views6 downloads

How to use the Plums Sorting Detection API

Try This Model

Drop an image here or click to upload

Or try a test image 

Code Snippets

from inference_sdk import InferenceHTTPClient

CLIENT = InferenceHTTPClient(
    api_url="https://serverless.roboflow.com",
    api_key="API_KEY"
)

result = CLIENT.infer("YOUR_IMAGE.jpg", model_id="plums-sorting-1qwj2/3")
Give your agent everything it needs

Or, Use Free Defect, Goog plum and Goog Plum Detection API

Powered by general detection model

Code
pip install inference-sdk
# 1. Import the library
from inference_sdk import InferenceHTTPClient

# 2. Connect to your workspace
client = InferenceHTTPClient(
  api_url="https://serverless.roboflow.com",
  api_key="API_KEY"
)

# 3. Run your workflow on an image
result = client.run_workflow(
  workspace_name="<YOUR_WORKSPACE>",
  workflow_id="<YOUR_WORKFLOW_ID>",
  images={
    "image": "YOUR_IMAGE.jpg"  # Path to your image file
  },
  parameters={
    "classes": "defect, Goog plum, Goog Plum"
  },
  use_cache=True  # cache workflow definition for 15 minutes
)

# 4. Get your results
print(result)

Run on custom image

Drop an image here or click to upload

Detecting classes:
Or try a test image 

About Plums Sorting Model

Here are a few use cases for this project:

  1. Food Supply Chain Quality Control: The "Plums Sorting" model can be used in the fresh produce industry to distinguish between good and bad quality plums. Automating this process with computer vision can significantly improve the efficacy and speed of sorting, reducing human labor, and ensuring customer satisfaction.

  2. Agricultural Research Aid: Researchers studying plum diseases or pests can use this model to efficiently categorize plums into classes of healthy or defective. This could accelerate studies aimed at finding better plum cultivation and protection methods.

  3. Learning Tool for Agricultural Students: Educational institutions can use the "Plums Sorting" model to demonstrate to agricultural students how computer vision can be used for quality control in horticulture.

  4. Home Gardening Assistant: For home gardeners or small farmers, using an application that integrates the "Plums Sorting" model would enable them to assess the quality of their own plum crops, help determine optimal picking time and recognize any potential diseases or defects early on.

  5. Food Retail: The model could also be utilized by supermarkets or grocery stores to automatically sort through their stock of plums to determine which are suitable for sale, reducing food waste and maintaining quality.

(As your model is called "Plums Sorting", and the use case examples should be about plums, the provided image of a potato doesn't seem to be relevant for these use cases.)

Cite This Project

LicenseCC BY 4.0

If you use this dataset in a research paper, please cite it using the following BibTeX:

@misc{ plums-sorting-1qwj2_dataset,
  title = { Plums Sorting Dataset },
  type = { Open Source Dataset },
  author = { Aims },
  howpublished = { \url{ https://universe.roboflow.com/aims-cdkx4/plums-sorting-1qwj2 } },
  url = { https://universe.roboflow.com/aims-cdkx4/plums-sorting-1qwj2 },
  journal = { Roboflow Universe },
  publisher = { Roboflow },
  year = { 2023 },
  month = { apr },
  note = { visited on 2026-07-29 },
}

Similar Projects

See More