VisionStruct:视觉转JSON系统提示词
来自 Wikiprompt,自由的提示词百科全书
VisionStruct:视觉转JSON系统提示词 一个Gemini Gem的系统提示,强制进行详尽的图像到JSON转换,捕捉每一个视觉细节,包括微观纹理、OCR和语义关系。
提示词内容收藏
🌐
{
"meta": {
"image_quality": "Medium",
"image_type": "Photo",
"resolution_estimation": "1920x1080"
},
"global_context": {
"scene_description": "A bustling city street at dusk, with a mix of pedestrians, vehicles, and storefronts. The scene is captured from a slightly elevated angle, showing a crosswalk with people crossing, cars waiting at a traffic light, and a variety of shops with illuminated signs. The atmosphere is lively yet calm, with the last light of day casting long shadows.",
"time_of_day": "Dusk",
"weather_atmosphere": "Clear",
"lighting": {
"source": "Mixed (natural and artificial)",
"direction": "Top-down with artificial side lighting",
"quality": "Soft",
"color_temp": "Warm"
}
},
"color_palette": {
"dominant_hex_estimates": ["#2C3E50", "#E74C3C", "#F1C40F"],
"accent_colors": ["Teal", "Orange", "White"],
"contrast_level": "Medium"
},
"composition": {
"camera_angle": "High-angle",
"framing": "Wide-shot",
"depth_of_field": "Deep",
"focal_point": "The crosswalk with pedestrians"
},
"objects": [
{
"id": "obj_001",
"label": "Traffic Light",
"category": "Infrastructure",
"location": "Top-Right",
"prominence": "Background",
"visual_attributes": {
"color": "Black with red, yellow, and green lights",
"texture": "Smooth",
"material": "Metal and plastic",
"state": "New",
"dimensions_relative": "Small"
},
"micro_details": [
"Reflection of streetlight on the metal pole",
"Slight dust on the lens"
],
"pose_or_orientation": "Vertical",
"text_content": null
},
{
"id": "obj_002",
"label": "Pedestrian Group",
"category": "People",
"location": "Center",
"prominence": "Foreground",
"visual_attributes": {
"color": "Varied (see sub-objects)",
"texture": "Clothing fabric",
"material": "Cotton, denim, leather",
"state": "Normal",
"dimensions_relative": "Medium"
},
"micro_details": [
"One person has a backpack with a small tear",
"Another person's shoelace is untied",
"A woman's scarf is fluttering in the wind"
],
"pose_or_orientation": "Walking",
"text_content": null,
"sub_objects": [
{
"id": "obj_002a",
"label": "Man in Blue Jacket",
"category": "Person",
"location": "Center-Left",
"prominence": "Foreground",
"visual_attributes": {
"color": "Blue jacket, dark jeans",
"texture": "Smooth",
"material": "Denim and cotton",
"state": "Normal",
"dimensions_relative": "Medium"
},
"micro_details": [
"Jacket has a small logo on the left chest",
"Jeans have slight fading on the knees"
],
"pose_or_orientation": "Walking forward",
"text_content": null
},
{
"id": "obj_002b",
"label": "Woman in Red Dress",
"category": "Person",
"location": "Center-Right",
"prominence": "Foreground",
"visual_attributes": {
"color": "Red dress, black heels",
"texture": "Smooth",
"material": "Silk and leather",
"state": "New",
"dimensions_relative": "Medium"
},
"micro_details": [
"Dress has a subtle pattern",
"Heels have a slight scuff on the toe"
],
"pose_or_orientation": "Walking, looking at phone",
"text_content": null
},
{
"id": "obj_002c",
"label": "Child in Yellow Jacket",
"category": "Person",
"location": "Center-Bottom",
"prominence": "Foreground",
"visual_attributes": {
"color": "Yellow jacket, blue pants",
"texture": "Smooth",
"material": "Polyester",
"state": "Normal",
"dimensions_relative": "Small"
},
"micro_details": [
"Jacket has a hood with drawstrings",
"Pants have a small grass stain on the knee"
],
"pose_or_orientation": "Holding parent's hand",
"text_content": null
}
]
},
{
"id": "obj_003",
"label": "Car",
"category": "Vehicle",
"location": "Bottom-Left",
"prominence": "Foreground",
"visual_attributes": {
"color": "Silver",
"texture": "Smooth",
"material": "Metal and glass",
"state": "Clean",
"dimensions_relative": "Large"
},
"micro_details": [
"Reflection of streetlight on the hood",
"Small scratch on the rear bumper",
"Dust on the windshield"
],
"pose_or_orientation": "Stopped at red light",
"text_content": null
},
{
"id": "obj_004",
"label": "Storefront Sign",
"category": "Signage",
"location": "Top-Left",
"prominence": "Background",
"visual_attributes": {
"color": "Neon blue and white",
"texture": "Smooth",
"material": "Plastic and glass",
"state": "New",
"dimensions_relative": "Medium"
},
"micro_details": [
"Slight flicker in the neon light",
"Small crack in the glass casing"
],
"pose_or_orientation": "Facing street",
"text_content": "COFFEE"
},
{
"id": "obj_005",
"label": "Streetlamp",
"category": "Infrastructure",
"location": "Top-Center",
"prominence": "Background",
"visual_attributes": {
"color": "Black",
"texture": "Smooth",
"material": "Metal",
"state": "Normal",
"dimensions_relative": "Medium"
},
"micro_details": [
"Light bulb is slightly dim",
"Small rust spot at the base"
],
"pose_or_orientation": "Vertical",
"text_content": null
},
{
"id": "obj_006",
"label": "Fire Hydrant",
"category": "Infrastructure",
"location": "Bottom-Right",
"prominence": "Foreground",
"visual_attributes": {
"color": "Red",
"texture": "Rough",
"material": "Cast iron",
"state": "Worn",
"dimensions_relative": "Small"
},
"micro_details": [
"Paint is chipped in several places",
"Rust spots on the cap"
],
"pose_or_orientation": "Upright",
"text_content": null
}
],
"text_ocr": {
"present": true,
"content": [
{
"text": "COFFEE",
"location": "Storefront sign",
"font_style": "Bold",
"legibility": "Clear"
},
{
"text": "STOP",
"location": "Road marking",
"font_style": "Block",
"legibility": "Partially obscured"
}
]
},
"semantic_relationships": [
"Traffic light is controlling the flow of vehicles and pedestrians",
"Car is stopped at the red light",
"Pedestrian group is crossing the crosswalk",
"Streetlamp is illuminating the scene",
"Storefront sign is advertising the coffee shop",
"Fire hydrant is on the corner of the sidewalk"
]
}
用法
此提示词专为 productivity 设计。复制上方内容并粘贴到你常用的 AI 工具中。
为获得最佳效果,可将占位符(方括号或大写字母标示)替换为你的具体需求。
讨论
0 条评论