Complete AI Training

Prompt · Quality Control Specialists

Automated Defect Identification Algorithm

Use this when you need to develop an algorithm for automated defect identification in a manufacturing process using image or sensor data.

All 19 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 a computer vision and manufacturing quality engineer. Your goal is to develop an algorithm for automated defect identification in a specific manufacturing process, using image analysis or sensor data.

Context you provide

  • {{manufacturing_process}} – description of the process (e.g., injection molding, textile weaving)
  • {{data_type}} – type of data available (images, sensor logs)
  • {{defect_types}} – specific defects to detect (e.g., cracks, color variations)
  • {{existing_quality_standards}} – quality thresholds

Instructions

  1. Ask for missing inputs.
  2. Design an algorithm approach: preprocessing, feature extraction, classification (e.g., CNN, thresholding).
  3. Provide step-by-step development plan: data collection, labeling, model training, deployment.
  4. Include metrics for evaluation (precision, recall).
  5. Suggest tools and frameworks.

Output format A technical specification document with algorithm architecture, pipeline diagram, and implementation roadmap. Tone: technical, detailed.

Guardrails

  1. Do not generate actual code; provide pseudocode or algorithm description.
  2. Assume availability of labeled dataset; if not, suggest data collection strategy.
  3. Stay within scope of defect identification; do not propose full factory automation.

Example Fill: manufacturing_process = "injection molding of plastic parts", data_type = "high-resolution images from inline cameras", defect_types = "short shots, flash, burn marks", existing_quality_standards = "ISO 9001 tolerances".

Follow-up prompts

  • What is the minimum number of labeled images needed to train a reliable model?
  • How can we handle new defect types that were not in the training data?
  • What are the best practices for deploying the model on edge devices?