Jurnal Teknik Informatika (JUTIF)
Vol. 7 No. 4 (2026): JUTIF Volume 7, Number 4, August 2026

Real-Time Halal Product Ingredient Classification based on Bilingual Text using Optical Character Recognition and One-Dimensional Convolutional Neural Network

Muhammad Thohir (Faculty of Computer Science, Esa Unggul University, Indonesia)
Muhammad Irfan Karim (Faculty of Computer Science, Esa Unggul University, Indonesia)
Vitri Tundjungsari (Faculty of Computer Science, Esa Unggul University, Indonesia)



Article Info

Publish Date
18 Aug 2026

Abstract

Instant verification of halal status for food ingredients remains a significant challenge for Muslim consumers, particularly when facing complex compositions and foreign-language labels without internet access. This study aims to develop an offline, real-time mobile application for halal ingredient classification by implementing lightweight deep learning models on edge devices. The proposed system integrates Google ML Kit for text extraction and evaluates five neural network architectures: FastText, 1D-CNN, LSTM, GRU, and Multi-CNN trained on a balanced, bilingual (Indonesian–English) dataset comprising 123,449 ingredient samples. Experimental results demonstrate that the 1D-CNN model was the optimal choice, achieving an average accuracy of 99.72%, an average inference time of 60.99 ms, and a compact model size of 719.2 KB. Although the GRU model achieved marginally higher accuracy, the 1D-CNN provided a superior efficiency trade-off with a 2.6× faster training time and lower computational complexity. The primary scientific contribution of this research lies in demonstrating that lightweight 1D-CNN architectures can deliver high-precision, fully offline text-based classification on mobile edge devices, offering a robust alternative to latency-constrained cloud-based verification systems.

Copyrights © 2026






Journal Info

Abbrev

jurnal

Publisher

Subject

Computer Science & IT

Description

Jurnal Teknik Informatika (JUTIF) is an Indonesian national journal, publishes high-quality research papers in the broad field of Informatics, Information Systems and Computer Science, which encompasses software engineering, information system development, computer systems, computer network, ...