Image Dataset for Visual Objects Classification in 3D Printing

Hongjia Li, Xiaolong Ma, Aditya Singh Rathore, Zhe Li, Qiyuan An, Chen Song, Wenyao Xu, Yanzhi Wang · DOI

TL;DR

This paper introduces a new dataset of 2D projections of 3D printable objects, specifically designed to detect illegal items like guns during the 3D printing process. They demonstrate its utility by training a Convolutional Neural Network (CNN) that achieves over 98% accuracy in classifying guns from these projected images, offering a potential security layer for additive manufacturing.

What Problem Does This Paper Address?

Additive manufacturing (AM), or 3D printing, offers incredible benefits in customization and rapid prototyping. However, its accessibility and low cost also present significant security risks, particularly the potential for fabricating illegal objects such as firearms. The challenge lies in detecting these illicit items before or during the manufacturing process, when intervention is still possible. Current methods often rely on analyzing the 3D model data itself, but this paper proposes a visual recognition approach using 2D projections, which can be integrated into the manufacturing pipeline.

Methods

The core of this work is the creation of a novel image dataset and its validation through a deep learning model.

  • Dataset Generation: The authors generated 2D greyscale images by projecting 3D models of various objects (including guns and other items) from multiple viewpoints. They used Ultimaker Cura software to display and rotate 3D models, then extracted G-code information. From this, they created projections onto X-Y, Y-Z, and X-Z planes. Manual selection was performed to ensure image quality and discard unrecognizable ones. Post-processing included rotation, flipping, and mirroring to augment the dataset, similar to CIFAR-10.
  • Deep Learning Model: To validate the dataset, they trained a classic Convolutional Neural Network (CNN) with two convolutional layers. This standard architecture was chosen for its proven effectiveness in image classification tasks.

Datasets

The paper introduces a new dataset:

  • 3D Printing Object Dataset: Consists of 61,340 28x28 greyscale 2D images representing projections of 3D models. It is divided into 10 classes, with 6,134 images per class. The dataset is split into 51,480 training images and 9,500 testing images. The classes include "gun" categories (pistol, revolver, special revolver, gun part, toy gun, gun-like object) and non-gun categories (horse, father's day gift, portal gun, cup). This dataset is analogous in size and category count to MNIST and CIFAR-10.

Key Insights and Ideas

  • Visual Security for 3D Printing: The paper highlights that visual object classification using deep learning can be integrated into the 3D printing workflow to detect illegal objects. This offers a proactive security measure rather than relying solely on post-production checks.
  • Leveraging 2D Projections: By converting 3D models into 2D projected images, the problem of 3D object recognition can be tackled with established 2D image classification techniques, making it more accessible and computationally feasible within a manufacturing pipeline.
  • Dataset Design for Security: The careful selection and augmentation of the dataset, including both gun and non-gun classes, are crucial for training a robust classifier that can distinguish between legitimate and potentially dangerous objects.

Key Results

  • The trained CNN model achieved a classification accuracy of 98.16% on the gun classification task, with an error rate of 1.84%.
  • The dataset comprises 61,340 images across 10 classes, with a balanced distribution.

Limitations and Future Work

  • Limitations: The paper mentions that manual selection of recognizable images was critical, implying that automated filtering might be a challenge. The dataset is limited to 28x28 greyscale images, which might not capture all nuances of complex objects. The focus is primarily on gun detection, and the generalizability to other types of illegal objects is not extensively explored.
  • Future Work: The authors suggest that this dataset can be utilized for research into recognizing/reconstructing 3D objects from 2D images, with applications in fields like drones, self-driving cars, and medical imaging. Further work could involve expanding the dataset to include more object classes, higher resolution images, and color information.

Summary updated

Abstract

The rapid development in additive manufacturing (AM), also known as 3D printing, has brought about potential risk and security issues along with significant benefits. In order to enhance the security level of the 3D printing process, the present research aims to detect and recognize illegal components using deep learning. In this work, we collected a dataset of 61,340 2D images (28x28 for each image) of 10 classes including guns and other non-gun objects, corresponding to the projection results of the original 3D models. To validate the dataset, we train a convolutional neural network (CNN) model for gun classification which can achieve 98.16% classification accuracy.
BibTeX
@misc{li2018image,
  author = {Hongjia Li and Xiaolong Ma and Aditya Singh Rathore and Zhe Li and Qiyuan An and Chen Song and Wenyao Xu and Yanzhi Wang},
  title = {{Image Dataset for Visual Objects Classification in 3D Printing}},
  year = {2018},
  eprint = {1803.00391},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1803.00391},
}
Figure