About the API:
This API will detect if the person in the given image is wearing a mask or not.
This API will receive an image URL and it will deliver the analysis.
It will detect if the user is wearing a mask or not.
You need to focus on two parameters.
Mask and no_mask.
In this case, the user is wearing a mask since the result is closer to 1 and below 1.
If the result is above 1, it means it's false.
Security in the workplace: This API is ideal for those companies that require their workers to wear masks. You can develop a checkpoint at the entrance to detect that your employees are entering the building with their masks.
Public transport control: We know that the pandemic is not over. This API will help to detect if any passenger is not wearing a mask and prevent the disease to spread.
Besides API call limitations per month, there are no other limitations.
Performs actual image analysis and responds with results.
The image must be a regular JPEG or PNG image (with or without transparency). Usually such images have extensions: .jpg
, .jpeg
, .png
.
image/jpeg
image/png
The size of the image file must be less than 16Mb
.
How to read the parameters:
Mask and no_mask.
In this case, the user is wearing a mask since the result is closer to 1 and below 1.
If the result is above 1, it means it's false.
{"results":[{"status":{"code":"ok","message":"Success"},"name":"https://assets2.cbsnewsstatic.com/hub/i/2021/12/16/f6d7364b-bb08-42eb-980b-5ea43238aa87/face-mask-brands.jpg","md5":"a60a146de34a292abce35fcb831a36f2","entities":[{"kind":"objects","name":"med-mask-detector","objects":[{"box":[0.17611823081970215,0.0,0.7357337474822998,0.9957617865668402],"entities":[{"kind":"classes","name":"people-detector","classes":{"person":0.7737056612968445}},{"kind":"classes","name":"med-mask","classes":{"mask":0.9999998807907104,"nomask":1.5353623439295916e-07}}]}]}]}]}
Object | Description |
---|---|
url |
[Required] URL of the image you want to check. |
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Masks Detection API REST API, simply include your bearer token in the Authorization header.
Header | Description |
---|---|
Authorization
|
[Required] Should be Bearer access_key . See "Your API Access Key" above when you are subscribed. |
No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.
Zyla API Hub is, in other words, an API MarketPlace. An all-in-one solution for your developing needs. You will be accessing our extended list of APIs with only your user. Also, you won't need to worry about storing API keys, only one API key for all our products is needed.
Prices are listed in USD. We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble with paying by card, just contact us at [email protected]
Sometimes depending on the bank's fraud protection settings, a bank will decline the validation charge we make when we attempt to be sure a card is valid. We recommend first contacting your bank to see if they are blocking our charges. If more help is needed, please contact [email protected] and our team will investigate further
Prices are based on a recurring monthly subscription depending on the plan selected — plus overage fees applied when a developer exceeds a plan’s quota limits. In this example, you'll see the base plan amount as well as a quota limit of API requests. Be sure to notice the overage fee because you will be charged for each additional request.
Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.
Just go to the pricing page of that API and select the plan that you want to upgrade to. You will only be charged the full amount of that plan, but you will be enjoying the features that the plan offers right away.
Yes, absolutely. If you want to cancel your plan, simply go to your account and cancel on the Billing page. Upgrades, downgrades, and cancellations are immediate.
You can contact us through our chat channel to receive immediate assistance. We are always online from 9 am to 6 pm (GMT+1). If you reach us after that time, we will be in contact when we are back. Also you can contact us via email to [email protected]