diff --git a/cloud/safety_checker.py b/cloud/safety_checker.py index 41771e0..4c92808 100644 --- a/cloud/safety_checker.py +++ b/cloud/safety_checker.py @@ -17,7 +17,7 @@ class DishSafetyResult(BaseModel): def check_dish_safety(image_path: str) -> dict: prompt = ( "You are a strict microwave safety vision inspector.\n\n" - "TASK: Inspect the dish for ANY metal or plastic utensils (spoons, forks, knives, metal handles) or aluminum foil.\n\n" + "TASK: Inspect the top-down photo of the dish for ANY metal or plastic utensils (spoons, forks, knives, metal handles) or aluminum foil.\n\n" "CRITICAL RULES:\n" "1. Look closely at the edges and interior of the bowl for utensil handles sticking out, even if they appear dark or shadowed.\n" "2. If you see ANY spoon handle, fork, knife, or utensil body—whether shiny silver, grey, or dark metal—mark is_safe = False.\n" diff --git a/orchestrateur/sensors/camera.py b/orchestrateur/sensors/camera.py index e962afb..9c9ccd4 100644 --- a/orchestrateur/sensors/camera.py +++ b/orchestrateur/sensors/camera.py @@ -18,8 +18,8 @@ camera_config = picam2.create_still_configuration( picam2.set_controls({ "AeEnable": True, "AwbEnable": True, - "ExposureTime": 60000, - "Brightness": 0.25, + "ExposureTime": 100000, + "Brightness": 0.30, "Contrast": 1.1 }) picam2.configure(camera_config)