Head+lifejacket Computer Vision Model

byPlinphon PatthayawijTask:
Object Detection
License:CC BY 4.0244 views13 downloads

How to use the Head+lifejacket 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="head-lifejacket/14")
Give your agent everything it needs

Or, Use Free Head, Human and 0 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": "head, human, 0, 3, fakehead"
  },
  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 Head+lifejacket Model

Here are a few use cases for this project:

  1. Maritime Safety Initiatives: The model can be used to monitor the usage of lifejackets on boats, cruise ships, and at beaches. It can distinguish between people who are wearing life jackets, those who are not, and even false implements, ensuring improved safety measures.

  2. Rescue Operations: This model can be beneficial during disaster or emergency situations where rescue teams need to quickly identify individuals in danger in the water. Identifying which individuals are wearing life jackets can aid in formulating the rescue strategy.

  3. Water Sport Activities: In recreational spots like water parks or areas where water sports take place, this model can ensure the safety regulations are being adhered to by checking if the participants are wearing life jackets accordingly.

  4. Lifejacket Manufacturing Control: The model can aid manufacturers to differentiate between fake jackets and genuine ones, ensuring quality control and reducing fraud in the industry.

  5. Surveillance Systems: It could be implemented into video surveillance systems in maritime environments, such as ferries or marinas, to alert staff when visitors or patrons are not wearing life jackets when needed.

Cite This Project

LicenseCC BY 4.0

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

@misc{ head-lifejacket_dataset,
  title = { Head+lifejacket Dataset },
  type = { Open Source Dataset },
  author = { Plinphon Patthayawij },
  howpublished = { \url{ https://universe.roboflow.com/plinphon-patthayawij/head-lifejacket } },
  url = { https://universe.roboflow.com/plinphon-patthayawij/head-lifejacket },
  journal = { Roboflow Universe },
  publisher = { Roboflow },
  year = { 2022 },
  month = { oct },
  note = { visited on 2026-07-29 },
}

Similar Projects

See More