Spike Prime - Door camera - Jakub Vojtek

From RoboWiki
Revision as of 12:44, 7 June 2024 by Robot (talk | contribs) (Created page with "Back to: Spike up Prime Interest in Science and Technology with Raspberry Pi Build Hat|List of projects of ''Spike up Prime Interest in Science and Technology with Raspberry...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Back to: List of projects of Spike up Prime Interest in Science and Technology with Raspberry Pi Build Hat

About the project

The project integrates a distance sensor and a camera to monitor the entrance of a door. When the distance sensor detects movement within a specified range, the camera captures an image. The captured image is then processed using a face detection algorithm to identify and highlight faces. The images, along with the timestamps and the number of detected faces, are saved both as files and in a SQLite database for record-keeping.

BuildHat door camera.png BuildHat door camera.jpg

Video

'"`UNIQ--youtube-00000000-QINU`"'

Build a robot

  • Not all door frames are the same, build a holder that will work on yours.
  • Find a place where you camera will reach and can be placed to watch doors without movement.

Building instructions:

Get the robot ready

Raspberry Python Code:

Ideas for improvement

  • Make the robot speed up if the line is straight and slow down before the turn.
  • Try to make the robot make as sharp turn as you can.

Evaluate your performance

  • Think about how you approached the problem and about how else could it be solved.
  • Evaluate yourself on how you adapted when something didn't work as you hoped it would.


Teacher Resources