Inspiration

As a muslim, the inspiration for HalalScan came from the challenges that many Muslims (including myself) face in finding halal food options. As a team, we wanted to create a tool that makes it easier for people to identify halal and non-halal ingredients in food products quickly and accurately.

What it does

HalalScan is a website that lets users to input ingredient lists, and identifies whether the ingredients are Halal or Haram thanks to OpenAI's technology. It simplifies the decision-making process for individuals and manufacturers by providing clear results.

The user takes a photo, copies the text from the image (a feature often seen in both Apple and Android phones), pastes it in the textbox, presses on the submit button, and awaits for their result (either HALAL, meaning islamically permissible, or HARAM, meaning islamically impermissible).

How we built it

HalalScan was built using HTML, CSS, JavaScript, OpenAI's API, and a lot of help from ChatGPT. We used the following prompt: `If the following ingredient list includes the words alcohol, pork, ham, bacon, gelatin, output the word HARAM alone and if it doesnt include those words output the word HALAL alone: '${ingredientText}'

Challenges we ran into

Our initial attempt in building HalalScan involved exploring technologies like MindsDB and Reflex, but due to time constraints and slow internet connectivity, we decided to focus on a more simple and straightforward web-based solution.

Accomplishments that we're proud of

  1. We actually finished building it on time
  2. We built something functional!!
  3. We built something people truly want
  4. Learning more about APIs in general

What we learned

Adaptability is key. Sometimes the simplest method (i.e not using every sponsor's technology) is what leads to success.

What's next for HalalScan

We hope to rely less on OpenAI and build a model of our own. We could also explore potential collaborations and partnerships to make HalalScan readily available to a wider audience.

Built With

Share this project:

Updates