Head+lifejacket Computer Vision Model
How to use the Head+lifejacket Detection API
Try This Model
Drop an image here or click to upload
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")Or, Use Free Head, Human and 0 Detection API
Powered by general detection model
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
About Head+lifejacket Model
Here are a few use cases for this project:
-
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.
-
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.
-
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.
-
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.
-
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.
Tell the agent what you want to build.
Cite This Project
LicenseCC BY 4.0If 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 },
}


