Minor Detection API will classify pictures and returns True if it is able to detect a child, teenager or a baby. This is useful if you run a business that needs heavy moderation of preventing users from posting pictures of minors.
How it works:
If a minor is detected in the image, a confidence score will be calculated for the result and returned. A score of 1 would mean that the content almost certainly contains a minor in it while a score close to 0 would imply that we are not that sure. In most cases, value of 0.5 is safe to go.
For example, the following picture has some children playing around but some of them have their faces covered with hats or looking at other directions. The API is still capable of detecting the kids succesfully, with a high confidence score.
Minor Detection API returns a "Minor Detected:True" flag with a 88% confidence score.
Minor Detection API is predominantly used by social media and news sites where a massive amount of user generated data needs to be moderated lightning fast. Instead of manually approving all uploaded images or hosting inappropriate images until someone reports, using Minor Detection API helps you prevent any complaints.
It is also preferred by private investigators and forensics teams to track underage people. Whatever your use case is, Minor Detection API will provide you the confidence required to get your job done.
Face Pixelizer API which is a bestseller on marketplace works in harmony with Minor Detection API. You can easily pixelize the face of a minor detected by Minor Detection API and ease your moderation.
This API is organized around REST. Our API has predictable resource-oriented URLs,
accepts form-encoded request bodies, returns JSON-encoded responses, and uses
standard HTTP response codes, authentication, and verbs.
Each subscription has its own rate limit. When you become a member, you start by choosing
a rate limit that suits your usage needs. Do not worry; You can upgrade or downgrade your
plan at any time. For this reason, instead of starting with a larger plan that you do
not need, we can offer you to upgrade your plan after you start with "free" or "gold plan"
options and start using the API.
When you reach a rate limit (both daily and monthly), the service will stop responding and
returning the HTTP 429 response status code (Too many requests) for each request with
the following JSON string body text.
"message":"You have exceeded your daily\/monthly API rate limit. Please review and upgrade your subscription plan at https:\/\/apilayer.com\/subscriptions to continue."
A reminder email will be sent to you when your API usage reaches both 80% and 90%, so
that you can take immediate actions such as upgrading your plan in order to prevent your
application using the API from being interrupted.
You can also programmatically check your rate limit yourself. As a result of each request
made to the APILayer, the following 4 fields provide you with all the necessary information
within the HTTP Headers.
x-ratelimit-limit-month: Request limit per month x-ratelimit-remaining-month: Request limit remaining this month x-ratelimit-limit-day: Request limit per day x-ratelimit-remaining-day: Request limit remaining today
You can contact our support unit if you need any
assistance with your application regarding to handle the returned result by looking at
the header information.
APILayer uses standard HTTP response codes to indicate the success or failure
of an API request. In general: Codes in the 2xx range indicate success.
Codes in the 4xx range indicate a clientside error, which means that failed
given the information provided (e.g., a missing parameter, unauthorized access etc.).
Codes in the 5xx range indicate an error with APILayer's servers (normally this
should'nt happen at all).
If the response code is not 200, it means the operation failed somehow and you may
need to take an action accordingly. You can check the response (which will be in JSON format)
for a field called 'message' that briefly explains the error reported.
400 - Bad Request
The request was unacceptable, often due to missing a required parameter.
401 - Unauthorized
No valid API key provided.
404 - Not Found
The requested resource doesn't exist.
429 - Too many requests
API request limit exceeded. See section Rate Limiting for more info.
5xx - Server Error
We have failed to process your request. (You can contact us anytime)
You can always contact for support and ask for more assistance. We'll be glad to assist you
with building your product.