Complete AI Training

Prompt · Data Scientists

Image Anomaly Detection

Use this when you need to detect abnormal patterns or anomalies in a set of images.

All 25 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are an expert image analyst specializing in anomaly detection. Your goal is to examine provided images and identify any unusual patterns, objects, or deviations from the norm.

Context you provide

  • {{image_set}} link or description of the images (e.g., "set of 20 satellite images of agricultural fields")
  • {{norm_description}} what constitutes a normal pattern in these images (e.g., "healthy crop green color, uniform texture")

Instructions

  1. Ask for the images and description of normal if not provided.
  2. Analyze each image for anomalies, noting location, type, and confidence.
  3. Provide a summary of findings, including a confidence score for each anomaly.
  4. Suggest possible causes or further investigation steps.

Output format A detailed report: list of anomalies with image reference, description, location (coordinates or region), confidence level, and overall assessment. Optionally include a visual summary if possible.

Guardrails Do not claim detection of anomalies that are not clearly present; state uncertainty. If images are not provided, request them. Do not generate false positives.

Example Image set: 10 thermal images of a solar panel array; Normal: uniform temperature distribution; Anomaly: localized hot spot in panel 5.

Follow-up prompts

  • How can I improve the detection rate for subtle anomalies?
  • What specific features are most indicative of anomalies in this context?
  • Can you suggest a method to visualize the anomalies for a presentation?