Skip to main content
Prompts Blood Grouping Detection API via Image Processing

developer coding user risk: medium

Blood Grouping Detection API via Image Processing

The prompt requests complete Python code for a project that detects blood grouping using image processing and builds an API or mini website.

  • Policy sensitive
  • Human review

PROMPT

blood grouping detection using image processing i need a complete code for this project to buil api or mini website using python 

EXPECTED OUTPUT

Format
code
Constraints
  • Python
  • complete project
  • API or mini website

SUCCESS CRITERIA

  • Provide complete Python code for blood grouping detection using image processing.
  • Build an API or mini website.

FAILURE MODES

  • May provide incomplete or non-functional code.
  • Might use inaccurate image processing techniques for blood grouping.
  • Could overlook API or website deployment requirements.

CAVEATS

Missing context
  • Dataset or sample images for blood groups
  • Preferred libraries or frameworks (e.g., OpenCV, Flask, Streamlit)
  • API specifications (endpoints, request/response formats) or website UI requirements
  • Blood grouping details (visual characteristics for detection)
  • Hardware/software constraints
Ambiguities
  • Unclear what 'blood grouping detection' exactly entails (e.g., detecting ABO/Rh types from blood drop images?)
  • Ambiguous choice between 'API or mini website' – which one or both?
  • No definition of input (image format, type) or output (group labels, confidence).

QUALITY

OVERALL
0.25
CLARITY
0.40
SPECIFICITY
0.30
REUSABILITY
0.10
COMPLETENESS
0.20

IMPROVEMENT SUGGESTIONS

  • Rephrase as: 'Provide complete Python code for a blood grouping detection system using image processing. Detect ABO and Rh blood types from uploaded images of blood samples. Build either a REST API with Flask/FastAPI or a mini website with Streamlit. Include model training if needed, using OpenCV/TensorFlow.'
  • Specify input/output: 'Input: Upload image of blood slide. Output: Blood group (A, B, AB, O, +/–) with confidence score.'
  • Provide links to sample images or datasets.
  • Add success criteria: 'Achieve >90% accuracy on test set.'

USAGE

Copy the prompt above and paste it into your AI of choice — Claude, ChatGPT, Gemini, or anywhere else you're working. Replace any placeholder sections with your own context, then ask for the output.

MORE FOR DEVELOPER