GithubHelp home page GithubHelp logo

etttthan / raspberry4b_easy_face_recognition Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 0.0 70 KB

树莓派4b闯红灯行人抓拍:摄像头,蜂鸣器,人体红外传感器,人脸识别(face_recognition),邮件发送(smtplib)

Python 100.00%

raspberry4b_easy_face_recognition's Introduction

树莓派4b 违法行人抓拍系统

模拟红绿灯路口的违法行人拍照,当交通灯为红灯时,开始工作,检测到人从马路对面闯红灯过来时,会检测人脸拍摄一张照片并且将人脸显示在大屏幕上(暂时为发送邮件替代,网站没时间搭建)

1.用到的硬件

树莓派4b 人体红外传感器 树莓派官方摄像头 蜂鸣器

2.代码说明

2.1 人体红外传感器

运行 detect_pelple.py 工作原理,注意GPIO口有BCM和BOARD两种模式

2.2 蜂鸣器

查看 initial_buzzer.py 有蜂鸣器的基本使用方法

2.3 主函数

运行 main.py 需要一些环境配置。新装的树莓派需要挺多的操作 推荐先更换国内镜像源后,然后pip install下来,比较靠谱的教程如下: 树莓派4B换清华源并更换系统源(Raspbian-buster系统) 关于pip下载源: 自己配置时,pip源没有成功更换,除了~/.pip/pip.conf,另外需要到etc下更改pip的配置文件

raspberry4b_easy_face_recognition's People

Contributors

etttthan avatar

Stargazers

EDGE avatar  avatar Jeff Brian avatar  avatar  avatar  avatar Humphries griffin avatar

Watchers

 avatar

raspberry4b_easy_face_recognition's Issues

求助

请问可以分享下行人闯红灯的路口视频素材嘛 谢谢

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.