Journal Collabits
Vol. 3 No. 2 (2026)

Using Tensorflow for Clean and Messy Room Image Classification with Python

Gilas Adi Saputra (Universitas Mercu Buana)
Damar Pratama Ristadias Hariyanto (Universitas Mercu Buana)



Article Info

Publish Date
24 May 2026

Abstract

Image classification is a fundamental computer vision task that can support automated visual monitoring in domestic, educational, and workplace environments. This study develops a transparent baseline pipeline using TensorFlow 2.x, Keras, and Python to distinguish clean and messy room images. The dataset contains 192 training images, with 96 images in each class, and 20 validation images, with 10 images in each class. All images are resized to 150 x 150 pixels and normalized to a 0-1 range. Rotation, horizontal flipping, and shearing are applied only to the training data, while validation images are normalized without random transformation. The sequential convolutional neural network contains four convolution-pooling blocks, a fully connected layer, and a sigmoid output for binary classification. Qualitative testing with two external images produced labels that were consistent with visual observation: the cluttered room was classified as messy and the organized room as clean. These demonstrations confirm that the pipeline operates from image input to class prediction, but they do not establish broad generalization or perfect accuracy. The main contribution is a reproducible small-data workflow that documents dataset distribution, preprocessing, augmentation, model parameters, validation procedures, and prediction thresholds. The study is limited by the small validation set, the absence of a large independent test set, and the lack of direct comparison with pretrained models. Future studies should evaluate transfer learning, larger datasets, repeated trials, and metrics such as precision, recall, F1-score, and confusion matrices.

Copyrights © 2026






Journal Info

Abbrev

collabits

Publisher

Subject

Computer Science & IT Engineering

Description

Journal Collabits adalah jurnal yang membahas strategi keamanan cyber untuk meningkatkan kinerja dan keandalan dalam implementasi teknologi kecerdasan buatan (AI), kecerdasan bisnis (BI), dan sains data, yang di kelola oleh Fakultas Ilmu Komputer (FASILKOM) terdiri dari dua prodi yaitu Teknik ...