11
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

クソアプリ Advent Calendar 2025 21日目の記事です。

作ったもの

画像認識で画像内のオブジェクトに足を生やすWebアプリ
https://csy19.github.io/project-calendar_2025/

使ってる技術

  • MediaPipe
    • 最初はTensorFlow.jsを使用しようかなと思っていたんですが、なんでかうまく行かずに断念。なんかほかにいいのないかな〜と思ってClaudeくんに聞いたところ、こいつを教えてもらいました。今回はオブジェクト検出を使ったんですが、ほかにもいろんなことができそうです。ジェスチャー認識とか楽しそう
    • 認識できる物体はどうやら80種類あるらしいです。
      https://github.com/tensorflow/models/blob/master/research/object_detection/data/mscoco_label_map.pbtxt
  • Vue.js + Vite
    • いつもの。楽ですね
  • GitHub Pages
    • 実は初めて使ったので地味に詰まりました。詰まったとはいえさくっとデプロイできるのは非常に嬉しい

感想

  • 斜めアングルとかの画像だと塩梅が悪いし、物体の位置によってはせっかくの足が見切れたりサイズ感がおかしくなったりする。人間が気を使ってやらないとうまく出してくれないちょうどよくクソなアプリになりました。
  • 認識してくれる要素もわりとファジー。寿司の画像を「carrot (信頼度:65.7%)」とか言ってきます。スクリーンショット 2025-12-22 22.13.35.png
  • イワシの画像に足を生やして足が早いってしたかったんですが、イワシは認識されませんでした。残念。

クレジット

画像はぱくたそ様からお借りしています。

11
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
11
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?