arXiv論文メモ
新着一覧
cs.CV / cs.LG · 査読状況未確認

手描きの円・四角形・三角形を小型CNNで識別するアプリ

A Lightweight Convolutional Neural Network for Real-Time Recognition of Hand-Drawn Geometric Shapes

Shahir Abdullah

この論文をやさしく読む

ひとことで言うと

マウスで描いた四種類の基本図形を、小さなCNNで分類するデスクトップアプリです。モデルと操作画面を含めて実装・評価しています。

何に役立つ?

図形認識の学習教材や、手描き図を取り込むアプリの実装例として利用が考えられます。ソースコード、モデル、データを公開して再現を支えています。

この研究の面白いところ

約9.8万パラメータのモデルに、データ拡張とドロップアウトを組み合わせています。学習用データの作成から、マウス入力で予測を見る画面までを一つの成果にしています。

どこまで分かった?

96.01%は2,000枚のデータの80/20分割における検証正解率です。データは単一提供者による小規模なもので、別の人の描き方への一般化には限界があることを著者も議論しています。

v1のアブストラクトに基づくAI解説。日本語訳とは別に、用途の解釈を含みます。

アブストラクトの日本語訳

手描きの幾何図形の認識は、スケッチ認識の基礎的な部分問題であり、教育、人とコンピューターの相互作用、図のデジタル化に応用がある。本論文では、小型の畳み込みニューラルネットワーク(CNN)を用いて、円、正方形、長方形、三角形という四つの基本的な手描き図形を認識するデスクトップアプリの設計、実装、評価を示す。28×28画素のラベル付き図形画像2,000枚を独自に収集し、公開した。 分類器は、最大プーリングを備えた三つの畳み込みブロック(フィルター数16、32、64)、モデル内のデータ拡張段階(ランダムな左右反転、回転、拡大縮小)、ドロップアウトで正則化した128ユニットの全結合層、4クラスの線形出力層から成り、学習可能パラメータは計97,956個である。ロジットから直接計算するスパースカテゴリ交差エントロピーを目的関数とし、Adam最適化器で学習する。 学習用80%、検証用20%の分割で、学習正解率94.80%、検証正解率96.01%、検証損失0.1437を達成した。Tkinterに基づくグラフィカルインターフェースにより、利用者はマウスで図形を描き、信頼度スコア付きのクラス予測を即座に受け取れる。本システムをスケッチ・図形認識研究全体の中に位置付け、関連する手描き図形分類研究と正解率を比較するとともに、単一の提供者による小規模なデータセットに内在する制約を議論する。再現性を支えるため、完全なソースコード、学習済みモデル、クラスごとのデータセットを公開する。

v1の要旨から自動生成。本文の精読・人による確認は未実施。

初稿
2026-09-21(UTC)
最新改訂
2026-09-21 · v1
査読・掲載
査読状況未確認
arXivで読むPDF

更新履歴

取得できた版を表示。版の更新は査読済みを意味しません。過去版の本文差分は未解析です。

原文の要旨

Recognizing hand-drawn geometric shapes is a foundational sub-problem of sketch recognition, with applications in education, human-computer interaction, and diagram digitization. This paper presents the design, implementation, and evaluation of a desktop application that recognizes four basic hand-drawn geometric shapes, circle, square, rectangle, and triangle using a compact Convolutional Neural Network (CNN). A dataset of 2,000 labeled 28x28-pixel shape images was collected independently and released publicly. The classifier consists of three convolutional blocks (16, 32, and 64 filters) with max-pooling, an in-model data-augmentation stage (random horizontal flip, rotation, and zoom), a dropout-regularized dense layer of 128 units, and a 4-way linear output layer, totaling 97{,}956 trainable parameters. The network is trained with the Adam optimizer on a sparse categorical cross-entropy objective computed directly on logits. On an 80/20 train-validation split, the model achieves 94.80% training accuracy and 96.01% validation accuracy with a validation loss of 0.1437. A Tkinter-based graphical interface allows a user to draw a shape with the mouse and receive an immediate class prediction with a confidence score. We situate this system within the broader sketch and shape-recognition literature, compare its accuracy against related hand-drawn shape classification studies, and discuss the limitations inherent to a small, single-contributor dataset. The complete source code, trained model, and per-class datasets are released publicly to support reproducibility.

arXiv ID: 2609.24384 / 要約の誤りについて