Picture and sound, as it airs.
Give the address of a stream, or send frames from a camera. While it runs, every frame is checked for your flags and its speech as it comes in. Each result carries its boxes, so your player can blur them live, and flagged moments are kept with their picture.
On every frame, and in what is said
The visual flags of images on each frame, and the flags of speech on the sound. Your flags depend on your plan.
Nudity
Exposed bodies, boxed on the frame they appear in.
Explicit nudity
A flag of its own, for a stricter line than nudity.
Sexual objects
Sexual objects anywhere in the shot.
Smoking
Cigarettes and vapes on camera.
Alcohol
Drinks on screen, told apart from coffee, water, juice and soda.
Speech
Profanity, insults and hate speech in what is said, with the second it was said.
Start a session
Give a stream link (RTSP, RTMP, HLS, HTTP or SRT) and it is watched for you, or start a camera session and send the frames yourself.
Frames are checked as they come
At the rate you set, up to 30 frames a second. A minute of credits is held ahead, and what the frames do not use goes back when the session ends.
Read the results live
Poll a stream link for what each frame found, or get a camera frame’s result in its answer. Flagged frames are kept as moments, and webhooks tell you about each one.
A frame in, its findings out
curl https://api.detectivision.ai/api/v1/live/sessions/32/frames \
-H "Api-Key: $DETECTIVISION_API_KEY" \
-H "Content-Type: image/jpeg" \
--data-binary @frame.jpg{
"seq": 8,
"t": 7.013,
"flagged": true,
"flags": [
{
"flag": "smoking",
"confidence": 0.84,
"detections": [
{ "label": "smoking", "confidence": 0.84, "bbox": [410, 220, 520, 330] }
]
}
],
"checked": ["nudity", "explicit_nudity", "sexual_objects", "smoking"],
"unchecked": [],
"creditsUsed": 1
}A camera session takes frames like this one. For a stream link, start the session with its address and poll it for the same results.
Flags, boxes, or censored moments
Detect
The flags of each frame and how sure each is, at 1 credit per check.
Capture
The default. Also the boxes, in pixels of the stream, so your player can hide the same regions live. With tracking, free, a blur never blinks off.
Censor
Also a censored copy of every moment kept: blurred, pixelated or boxed.
Frequently asked
Which streams can it watch?
RTSP, RTMP, HLS, HTTP and SRT at a public address, up to 4 hours a session. Or frames you send from a camera or a device, as JPEG, PNG or WebP.
How many frames a second are checked?
As many as you set, up to 30. With every flag on, about 25 frames a second are checked; choosing fewer flags goes faster.
How is a session paid for?
For the frames checked, with live stream credits. A minute at fps 1 costs 1 credit in detect mode and 2 in capture and censor mode; at fps 30, 30 or 60. Moments are free.
Is the sound checked too?
Yes. Speech is checked as it comes in for profanity, insults and hate speech, with the second each one was said.
What happens to flagged frames?
They are kept as moments in your moderation history, with their picture and flags, by default at most one every three seconds. Webhooks tell you about each one as it happens.