Skip to content

ItzAreeb/HalalSense

Repository files navigation

HalalSense

A smart halal product scanner built with Flutter and Dart that helps users determine whether food and consumer products are Halal, Haram, or Doubtful based on ingredients, scholarly methodologies, and AI-powered analysis.

OVERVIEW

HalalSense allows users to scan a product barcode, search products manually, or scan ingredient labels using their camera. It retrieves product data using the OpenFoodFacts API and uses DeepSeek AI to analyze ingredients according to different Islamic madhhab methodologies.

The app provides:

  • Halal / Haram / Doubtful verdicts
  • Ingredient-by-ingredient breakdowns
  • Identification of suspicious or impermissible ingredients
  • General Islamic reasoning behind verdicts
  • Support for multiple fiqh methodologies

FEATURES

[1] Barcode Scanner Scan a product barcode to instantly fetch product information and ingredients.

[2] Product Search Search products manually if barcode scanning is unavailable.

[3] Ingredient OCR Scanner Use your camera to scan ingredient labels directly when products are missing from the database.

[4] AI Halal Analysis Uses DeepSeek AI to intelligently evaluate products and ingredients.

[5] Madhhab / Methodology Support

Choose your preferred methodology:

  • Hanafi
  • Shafi'i
  • Maliki
  • Hanbali
  • Salafi / Ahlul-Hadith

[6] Ingredient Breakdown

See:

  • Which ingredients are halal
  • Which are haram
  • Which are doubtful / unclear
  • Why each ingredient was flagged

[7] Evidence-Based Verdicts

Provides general reasoning for rulings based on common Islamic principles regarding food permissibility.

TECH STACK

  • Flutter
  • Dart
  • OpenFoodFacts API
  • DeepSeek AI
  • Camera / OCR Integration
  • Barcode Scanner Packages

HOW IT WORKS

Option 1: Barcode Scan

  1. Open HalalSense
  2. Scan product barcode
  3. Product ingredients and all the various information about it are fetched
  4. AI analyzes the product's information
  5. Receive halal / haram / doubtful verdict

Option 2: Search Product

  1. Search product by name
  2. Select the product, and all the product information for it is fetched
  3. Receive halal / haram / doubtful verdict

Option 3: Scan Ingredients

  1. Scan the ingredient label with the camera
  2. OCR extracts ingredients
  3. Add optional product details manually
  4. Receive halal / haram / doubtful verdict

WHY HALALSENSE?

Many products contain:

  • Ambiguous emulsifiers
  • Gelatin sources
  • Enzymes
  • Alcohol derivatives
  • Animal-based additives
  • Hidden E-numbers

HalalSense helps users make informed decisions quickly, conveniently, and confidently.

DISCLAIMER

HalalSense is an informational assistant and does not replace qualified scholars or official halal certification bodies. Users should verify sensitive matters independently.

FUTURE IMPROVEMENTS

  • Community ingredient database
  • Faster offline scanning
  • Multi-language support

BUILT FOR THE UMMAH

Created to make halal product checking faster, easier, and smarter for Muslims worldwide.

About

A smart Android and iOS halal product scanner built with Flutter and Dart that helps users determine whether food and consumer products are Halal, Haram, or Doubtful based on ingredients, scholarly methodologies, and AI-powered analysis.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages