← 开源

Build a thin client deep learning camera with the Raspberry Pi, Flask, and YOLO

TutorialsTool-specific tutorialsGetting startedPython
增长势头
+024 小时新增 Star0.0%
452
Star
112
Fork
+0
本周
1
贡献者
创建于 2017-12-18 · 更新于 2026-10-24 · 今日第 23495 名
主要开发者
burningion
README

Poor Man's Deep Learning Camera

Build a thin client deep learning camera in Python with the Raspberry Pi, Flask, and YOLO

Installation

You'll need a few different libraries installed on the Raspberry Pi. Most notably, OpenCV 3 with Python bindings, along with Flask.

The Raspberry Pi runs the Camera-Server code, and sends back images from a webserver.

On another computer, you'll run the inference script, and it will detect whether or not there are birds in your webcam's image.

For this to run, you'll need to download and install the Darkflow weights, along with the YOLO model of your choice. Once that's installed, you should then be able to start doing inferences.

If you're looking for a pretrained model, I used the tiny-yolo-voc weights at the Darkflow repo.

thtrieu even linked to a Google Drive copy of his models here.

Architecture

Hopefully this image makes sense. We run a cheap edge computer that just sends images out of the current webcam frame, and the other computer script does the inference on that deep learning camera.

Blog Post

The blog post accompanying this repo is at Make Art with Python.

Detected Bird Image

Of course, here's a bird that was detected and saved using this script:

排名相邻
同类项目

AI Rank iPhone 版

随时追踪 AI 模型榜单

在 App Store 下载