So, you may be wondering how this API works. Firstly, you will upload an image and provide the API with the URL of the image. The API will then return a percentage of alcohol in the image. This is done by using a mathematical formula based on the pixel count of the image and the average pixel count of images with different alcohol percentages.
Be able to recognize any alcoholic beverages present in an image you pass to this API.
To make use of it, you must first:
1- Go to Alcohol Detection – Image Moderation API and simply click on the button “Subscribe for free” to start using the API.
2- After signing up in Zyla API Hub, you’ll be given your personal API key. Using this one-of-a-kind combination of numbers and letters, you’ll be able to use, connect, and manage APIs!
3- Employ the different API endpoints depending on what you are looking for.
4- Once you meet your needed endpoint, make the API call by pressing the button “run” and see the results on your screen.