Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: bathonSpidey/AutoLogger
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: mtc-20/AutoLogger
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: gui
Choose a head ref
Able to merge. These branches can be automatically merged.

Commits on Dec 19, 2019

  1. Update README.md

    mtc-20 authored Dec 19, 2019
    Copy the full SHA
    191b72d View commit details
  2. add pygame menu

    mtc-20 authored Dec 19, 2019
    Copy the full SHA
    e9d6321 View commit details
  3. Update README.md

    mtc-20 authored Dec 19, 2019
    Copy the full SHA
    ba310b6 View commit details

Commits on Dec 20, 2019

  1. edits

    mtc-20 authored Dec 20, 2019
    Copy the full SHA
    272b44f View commit details
  2. Update menu_test.py

    mtc-20 authored Dec 20, 2019
    Copy the full SHA
    528dcda View commit details
  3. fix window position

    mtc-20 authored Dec 20, 2019
    Copy the full SHA
    ca0d1f6 View commit details
  4. Not required

    mtc-20 authored Dec 20, 2019
    Copy the full SHA
    be675b4 View commit details
  5. Update README.md

    mtc-20 authored Dec 20, 2019
    Copy the full SHA
    fbffe14 View commit details
  6. Delete auto_logger_raspi.py

    mtc-20 authored Dec 20, 2019
    Copy the full SHA
    77824b1 View commit details
  7. Delete auto_logger.py

    mtc-20 authored Dec 20, 2019
    Copy the full SHA
    a42fad4 View commit details
  8. minor updates

    mtc-20 authored Dec 20, 2019
    Copy the full SHA
    d19b925 View commit details
  9. Update README.md

    mtc-20 authored Dec 20, 2019
    Copy the full SHA
    13f9db5 View commit details
  10. Update README.md

    mtc-20 authored Dec 20, 2019
    Copy the full SHA
    d51288d View commit details
  11. Update README.md

    mtc-20 authored Dec 20, 2019
    Copy the full SHA
    5af741b View commit details
  12. variable corrections

    mtc-20 authored Dec 20, 2019
    Copy the full SHA
    2afe476 View commit details
  13. Delete auto_user_reg.py

    mtc-20 authored Dec 20, 2019
    Copy the full SHA
    bc7dc24 View commit details
  14. everything in a single file

    mtc-20 authored Dec 20, 2019
    Copy the full SHA
    be57712 View commit details
  15. Delete menu_test.py

    mtc-20 authored Dec 20, 2019
    Copy the full SHA
    289c03a View commit details
  16. Copy the full SHA
    b024bde View commit details
  17. more docs

    mtc-20 authored Dec 20, 2019
    Copy the full SHA
    ba4c877 View commit details
  18. add screenshot

    mtc-20 authored Dec 20, 2019
    Copy the full SHA
    aee7790 View commit details
  19. Update README.md

    mtc-20 authored Dec 20, 2019
    Copy the full SHA
    8bce344 View commit details
  20. minor tweaks

    mtc-20 authored Dec 20, 2019
    Copy the full SHA
    4babc9c View commit details
  21. upload error

    mtc-20 authored Dec 20, 2019
    Copy the full SHA
    a3bf4c6 View commit details
  22. Delete Main_menu.png

    mtc-20 authored Dec 20, 2019
    Copy the full SHA
    8cdcf92 View commit details
  23. upload issue

    mtc-20 authored Dec 20, 2019
    Copy the full SHA
    4abc776 View commit details
  24. Delete Main_menu.png

    mtc-20 authored Dec 20, 2019
    Copy the full SHA
    2f63068 View commit details
  25. Update README.md

    mtc-20 authored Dec 20, 2019
    Copy the full SHA
    6711aff View commit details
  26. Add files via upload

    mtc-20 authored Dec 20, 2019
    Copy the full SHA
    2b27221 View commit details
  27. update screenshot

    mtc-20 authored Dec 20, 2019
    Copy the full SHA
    5beeecc View commit details

Commits on Sep 29, 2020

  1. test pygame_set_display

    mtc-20 committed Sep 29, 2020
    Copy the full SHA
    1a688c8 View commit details
  2. correct pygame_set_display

    mtc-20 committed Sep 29, 2020
    Copy the full SHA
    c4208b6 View commit details
  3. correct pygame_set_display

    mtc-20 committed Sep 29, 2020
    Copy the full SHA
    6afbe97 View commit details
  4. added full screen

    mtc-20 committed Sep 29, 2020
    Copy the full SHA
    cc71022 View commit details
  5. added full screen

    mtc-20 committed Sep 29, 2020
    Copy the full SHA
    ac95f35 View commit details
  6. correct offset

    mtc-20 committed Sep 29, 2020
    Copy the full SHA
    be65d1b View commit details
  7. check pos again

    mtc-20 committed Sep 29, 2020
    Copy the full SHA
    2f7d56b View commit details
  8. checking pos

    mtc-20 committed Sep 29, 2020
    Copy the full SHA
    92bc62e View commit details
Showing with 380 additions and 1,260 deletions.
  1. +21 −4 README.md
  2. +0 −351 auto_logger.py
  3. +0 −399 auto_logger_raspi.py
  4. +359 −0 auto_logger_raspi_GUI.py
  5. +0 −389 auto_logger_raspi_mtc.py
  6. +0 −117 auto_user_reg.py
  7. BIN new_screenshot.png
  8. BIN robotics_logo.png
25 changes: 21 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -3,21 +3,38 @@

**The Raspberry Pi uses face recognition to detect faces and recognise from existing database. Then, uses hand gesture detection to log in/out.**

**This fork presents a GUI that should make it easier to use the autologger with the Touchscreen.**
## Hardware
- [Raspberry Pi 3][pi]
- [Raspberry Pi Camera V2][cam]
- [Raspberry Pi 7" Touchscreen][screen] with enclosure

# Data Logging
Text files are created daily to store check-in and check out of users with timestamps. The logging directory maintains a hierarchy based on year and month.
- Text files are created daily to store check-in and check out of users with timestamps. The logging directory maintains a hierarchy based on year and month.
- The logbook folder must be created manually, otherwise the code returns an error.
- System requires a virtual keyboard installed for new username input.
```
sudo apt-get install matchbox-keyboard
```

# GUI
- A simple standby menu created using pygame and pygameMenu.
```
pip install pygame-menu
```
- Responds to mouse, keyboard and touch screen.

<p align="center">
<img width="480" src="https://github.com/mtc-20/AutoLogger/blob/gui/new_screenshot.png">
</p>

System currently requires keyboard to accept input/awake from sleep.

### TODO
- [x] Automate new user creation process
- [ ] Make system completely hands-free; may require more hardware
- [ ] Avoid writing images to file: ?
- [x] Make system "hands-free"; ~~may require more hardware~~
- [ ] ~~Avoid writing images to file: ?~~
- [ ] Need to add code so that database is created if it doesn't exist
- [ ] Pressing the buttons multiple times sets up the event every time; which needs to be sorted out


[cam]:https://www.raspberrypi.org/products/camera-module-v2/
351 changes: 0 additions & 351 deletions auto_logger.py

This file was deleted.

Loading