Skip to main content

Detection Categories

Many detections in Valossa Metadata include a categ field containing category tags. These tags classify detections into broad categories such as "fauna", "sport", or "content_compliance", making it easy to filter detections by theme.

How Categories Work

The categ field contains a tags array with one or more category identifier strings:

{
"t": "visual.context",
"label": "dog",
"categ": {
"tags": ["fauna", "pets"]
}
}

Category tags are available for most visual.context detections and some audio.context detections.

note

Detection categories describe individual concepts (e.g., a "dog" has the tags "fauna" and "pets"). This is different from video-level categories like topic.iab which describe what the entire video is about.

Non-Sensitive Tag Categories

These 27 categories cover general, non-sensitive content.

Display NameTag IdentifierDescription
AutomotiveautomotiveCars, trucks, and motorcycles
AviationaviationAirplanes and spacecraft
Boats and shipsboats_shipsBoats and ships
Brand or productbrand_productBrands and products (excluding logos)
Buildings and architecturebuildings_architectureBuildings and architectural details
Celebrations and holidayscelebrations_holidaysWeddings, graduation, Christmas, Thanksgiving, etc.
Children, family and playchildren_family_playChildren, toys, board games, amusement parks
Computers and video gamescomputers_video_gamesComputers and video games
Consumer electronicsconsumer_electronicsMobile devices, gadgets, cameras, TVs, appliances
Fashion and wearfashion_wearClothing, shoes, accessories, jewelry, makeup
AnimalsfaunaAnimals
Plants and mushroomsfloraPlants and mushrooms
Food or drinkfood_drinkFoods, drinks, eating, and drinking
GraphicsgraphicsGraphics that enrich media content
Home and gardenhome_gardenInterior design, furniture, rooms, garden
Basic human actionshuman_basicSitting, standing, sleeping, etc.
Human features and body partshuman_featuresHuman features and body parts (excluding emotions and compliance content)
Social situations and human lifehuman_life_socialSocial activities, gambling, parades, students
IndustrialindustrialMachinery, power plants, cables
Lights and effectslights_effectsLight-based media effects
MaterialsmaterialsConcrete, wood, iron, etc.
Military equipment and peoplemilitaryMilitary staff, vehicles, aircraft, vessels
MusicmusicMusical instruments, events, settings
Natural phenomenanatural_phenomenaNatural phenomena and events
Landscape and environmentnonlive_naturalRock, mountain, sun, river, glacier
Other man-made objectsother_manmade_objectObjects not in any other specific category
PetspetsDogs, cats, and their accessories
Place, location or sceneplace_sceneLiving room, stadium, road, etc.
Professions and workprofessions_workHumans at work (excluding athletes and military)
Public transportpublic_transportBus, train, etc.
SportssportSports, sporting events, athletes
Sports equipmentsport_equipmentSports equipment, protection, clothing
Sport locationssport_locationsSwimming pool, stadium, etc.
StylestyleImage styles such as diagram or cartoon
Traffic, traffic areas and signstrafficTraffic stations, roads, signs, congestion
Travel destinationstravel_destinationsFamous landmarks around the world
Video structurevideo_structureBlack frames, structural elements
Visual arts and craftsvisual_arts_craftsSculptures, paintings, handicrafts

Sensitive Tag Categories

These 24 categories cover sensitive, potentially inappropriate, or compliance-related content. They are derived from visual, speech, and OCR detections.

Display NameTag IdentifierDescription
Accidents and destructionaccidentAccidents, explosions, conflicts, catastrophe aftermath
Act of violenceact_of_violenceActs of violence that could injure a victim
Bad languagebad_languageSwearing and profanity
Bombs and explosionsbomb_explosionExplosions and smoke
Content compliancecontent_complianceMaster tag present on all Content Compliance concepts
CrimecrimeCriminal activity
DeathdeathDeath-related content
Explicit contentexplicit_contentHighly sexual and violent content (always paired with more specific tags)
Guns and weaponsgun_weaponGuns, knives, bows
Hate speechhate_speechHate speech
InjuryinjuryBlood, wounds, bruises
Military conflictmilitary_conflictWar, military conflict
Natural disasters and severe weathernatural_disaster_severe_weatherFloods, thunderstorms, etc.
Online piracyonline_piracyOnline piracy indicators
ReligionreligionReligious symbols, persons, places of worship
RevealingrevealingRevealing clothing, visible body parts (navel, cleavage)
Sensitive social issuessensitive_social_issuesSensitive social issues
SensualsensualContent hinting at sexuality (bikinis, kissing, etc.)
SexualsexualClearly sexual material and intimate body parts
Substance usesubstance_useSmoking, drugs, medicines, alcohol
TerrorismterrorismTerrorism
Threat of violencethreat_of_violenceThreats toward a person (e.g., aiming a gun)
Under 18 yearsunder_18_yearsPeople under 18 years of age
Violence, injuries and threatsviolenceActs and signs of violence

Content Compliance Filtering

The content_compliance tag serves as a master tag for all sensitive content. A detection with content_compliance will also have one or more specific sensitive tags (e.g., violence, sexual, substance_use).

Find All Content Compliance Detections

content_compliance = {}
for det_id, detection in metadata["detections"].items():
if "categ" in detection:
if "content_compliance" in detection["categ"]["tags"]:
content_compliance[det_id] = detection

Find Content Compliance Only in Visual Detections

content_compliance = {}
visual_ids = metadata["detection_groupings"]["by_detection_type"].get("visual.context", [])
for det_id in visual_ids:
detection = metadata["detections"][det_id]
if "categ" in detection:
if "content_compliance" in detection["categ"]["tags"]:
content_compliance[det_id] = detection

Filter by Specific Sensitive Category

violence_detections = {}
for det_id, detection in metadata["detections"].items():
if "categ" in detection:
tags = detection["categ"]["tags"]
if "violence" in tags or "act_of_violence" in tags:
violence_detections[det_id] = detection