Probation Ball Computer Vision Model

byProbation AterkiaTask:
Object Detection
License:CC BY 4.062 views4 downloads

How to use the Probation Ball 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="probation-ball-tefwp/2")
Give your agent everything it needs

Or, Use Free Green_ball and Red_ball 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": "green_ball, red_ball"
  },
  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 Probation Ball Model

Here are a few use cases for this project:

  1. Sports Analytics: The model can be used in sports which involve different colored balls like snooker or pool. The system can track the movement of balls, detect shots, and facilitate automated scorekeeping or match analysis.

  2. Interactive Gaming Applications: The model can be used in augmented reality games where users need to interact with virtual balls of different colors. It can improve game experience by providing precise object tracking and interaction.

  3. Factory Sorting Mechanism: Industries that produce multicolored balls (like toy manufacturers, ball pit facilities etc.) can use the "Probation Ball" model to automatically sort balls based by color, improving efficiency and speed of the sorting process.

  4. Educational Tools for Children: The model can be used in applications developed for children to learn and distinguish colors. An interactive learning session could involve items like balls of different colors, identified by the model.

  5. Security and Surveillance: In facilities where different color balls are used for access control (like a unique identifier), the "Probation Ball" model can be used to recognize and authorize access based on the color of the ball. This use can be extended to maintaining logs of access tied to specific colored balls.

Cite This Project

LicenseCC BY 4.0

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

@misc{ probation-ball-tefwp_dataset,
  title = { Probation Ball Dataset },
  type = { Open Source Dataset },
  author = { Probation Aterkia },
  howpublished = { \url{ https://universe.roboflow.com/probation-aterkia/probation-ball-tefwp } },
  url = { https://universe.roboflow.com/probation-aterkia/probation-ball-tefwp },
  journal = { Roboflow Universe },
  publisher = { Roboflow },
  year = { 2023 },
  month = { sep },
  note = { visited on 2026-07-29 },
}

Similar Projects

See More