CoolFace
Apppublic

smoham/halal-beauty-ingredient-classifier

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes
App README

๐ŸŒ™ Halal Beauty Ingredient Classifier

Upload a photo of a product ingredient label or paste the ingredient list โ†’ get per-ingredient halal compliance analysis with reasoning.

Features

  • โ€”๐Ÿ“ธ Photo OCR โ€” Snap a photo of any ingredient label, AI reads and classifies every ingredient
  • โ€”๐Ÿ“ Text Input โ€” Paste ingredients directly for instant analysis
  • โ€”๐Ÿ” Per-ingredient analysis โ€” Each ingredient classified as โœ… Halal / โš ๏ธ Questionable / โŒ Non-Compliant
  • โ€”๐Ÿ’ก Detailed reasoning โ€” Explains WHY each ingredient has its classification
  • โ€”๐Ÿ“Š Summary & recommendations โ€” Overall verdict with actionable next steps

Classification Categories

StatusMeaningExamples
โœ… HalalClearly permissibleWater, plant oils, minerals, synthetic ingredients
โš ๏ธ QuestionableSource-dependentGlycerin, stearic acid, collagen (depends on animal/plant source)
โŒ Non-CompliantClearly impermissibleCarmine, porcine gelatin, alcohol denat., lard

How It Works

Powered by Qwen2.5-VL-72B-Instruct โ€” a vision-language model that handles both OCR (reading ingredient labels from photos) and halal classification reasoning, guided by a comprehensive knowledge base of Islamic jurisprudence on cosmetic ingredients.

โš ๏ธ Disclaimer

This tool provides AI-assisted analysis for educational purposes only. It is NOT a substitute for official halal certification. For definitive rulings, consult a qualified Islamic scholar or recognized halal certification body (e.g., JAKIM, MUI, IFANCA, HFA).