Identify smoking using AI

Below is a free classifier to identify smoking. Just upload your image, and our AI will predict if it has someone smoking or not - in just seconds.

smoking identifier

The tool looks for cigarette and vaping usage.

API Access


import nyckel

credentials = nyckel.Credentials("YOUR_CLIENT_ID", "YOUR_CLIENT_SECRET")
nyckel.invoke("smoking-identifier", "your_image_url", credentials)
            

fetch('https://www.nyckel.com/v1/functions/smoking-identifier/invoke', {
    method: 'POST',
    headers: {
        'Authorization': 'Bearer ' + 'YOUR_BEARER_TOKEN',
        'Content-Type': 'application/json',
    },
    body: JSON.stringify(
        {"data": "your_image_url"}
    )
})
.then(response => response.json())
.then(data => console.log(data));
            

curl -X POST \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer YOUR_BEARER_TOKEN" \
    -d '{"data": "your_image_url"}' \
    https://www.nyckel.com/v1/functions/smoking-identifier/invoke
            

How this classifier works

To start, upload your image. Our AI tool will then predict if it has someone smoking or not.

This pretrained image model uses the Smoking CV Project dataset and has 2 labels, including Has Smoking and No Smoking.

We'll also show a confidence score (the higher the number, the more confident the AI model is around if it has someone smoking or not).

Whether you're just curious or building smoking detection into your application, we hope our classifier proves helpful.

Recommended Classifiers

Need to identify smoking at scale?

Get API or Zapier access to this classifier for free. It's perfect for:



  • Public Health Monitoring: Monitor public spaces or venues for smoking activity, supporting health and safety regulations.

  • Media Content Rating: Screen movies, TV shows, and online content for smoking scenes, aiding in the appropriate content rating and viewer advisories.

  • Advertising Compliance: Review advertising and promotional materials to ensure they adhere to regulations restricting the display of smoking.

  • Workplace Policy Enforcement:

  • Health and Wellness Apps:

  • Educational Institutions: Monitor school or university campuses for smoking activity to maintain a healthy educational environment.

  • Parental Control Software: Enable parents to monitor their children's exposure to smoking through images on digital devices, promoting healthier lifestyle choices.

Want this classifier for your business?

In just minutes you can automate a manual process or validate your proof-of-concept.

Get Access