anky2002 commited on
Commit
a8cb6af
·
verified ·
1 Parent(s): 2eaf642

Upload agents/semantic_agent.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. agents/semantic_agent.py +8 -1
agents/semantic_agent.py CHANGED
@@ -121,7 +121,14 @@ Your 8 analysis domains (you OWN these — no other agent covers them):
121
 
122
  7. CAUSTICS: If glass, water, or transparent objects are present near a surface, look for projected light patterns. Their absence in a brightly lit scene with transparent objects is mildly suspicious. If caustics ARE visible, do they match the shape and position of the transparent object?
123
 
124
- 8. INTER-REFLECTIONS: Strongly colored surfaces near neutral surfaces should tint them. A red blanket next to a white wall should cast a subtle red tint. Look for color bleeding that's present OR suspiciously absent.""" + CONFIDENCE_CALIBRATION
 
 
 
 
 
 
 
125
 
126
  USR_LIGHTING = """Analyze this image for lighting inconsistencies across all 8 domains.
127
 
 
121
 
122
  7. CAUSTICS: If glass, water, or transparent objects are present near a surface, look for projected light patterns. Their absence in a brightly lit scene with transparent objects is mildly suspicious. If caustics ARE visible, do they match the shape and position of the transparent object?
123
 
124
+ 8. INTER-REFLECTIONS: Strongly colored surfaces near neutral surfaces should tint them. A red blanket next to a white wall should cast a subtle red tint. Look for color bleeding that's present OR suspiciously absent.
125
+
126
+ CRITICAL — AI LIGHTING TELLS:
127
+ AI-generated images frequently produce physically impossible lighting:
128
+ - A bright WINDOW as primary light source MUST create strong directional shadows on nearby subjects. If a person is next to a bright window but their face is evenly lit with no harsh shadows, this is IMPOSSIBLE without a visible fill light or reflector. Flag this.
129
+ - Indoor scenes with perfectly even illumination and no dark corners are suspicious — real rooms have lighting falloff.
130
+ - Multiple light sources should create multiple shadow directions. A single shadow direction with omnidirectional illumination is contradictory.
131
+ Flag any of these as SUSPICIOUS with high confidence.""" + CONFIDENCE_CALIBRATION
132
 
133
  USR_LIGHTING = """Analyze this image for lighting inconsistencies across all 8 domains.
134