Students Attendance System with Face Recognition using R-Pi

Sdílet
Vložit
  • čas přidán 2. 03. 2024
  • Students Attendance System with Face Recognition using R-Pi
    by Sahil Savant & Team
    Follow the given steps to install Tensorflow and OpenCV on raspberry pi
    Access the terminal-
    cat /etc/os-release
    sudo apt update
    sudo apt upgrade
    Find your .sh script-
    python3 -V (take a note of this)
    uname -m (take a note of this)
    Check if there is a shell file for your Python/Architecture combo here: github.com/PINTO0309/Tensorfl...
    NOTE: If you have armv7 and Python 3.8 or higher, you will need to either downgrade your Python (which I show) or update to the 64-bit aarch64.
    Some example combinations:
    If python3 -V = "3.9.*" (* means any number) AND uname -m = "aarch64"
    use: github.com/PINTO0309/Tensorfl...
    If python3 -V = "3.7.*" AND uname -m = "armv7l"
    use: github.com/PINTO0309/Tensorfl...
    If python3 -V = "3.9.*" AND uname -m = "armv7l"
    Either install 64-bit Raspberry Pi OS (see beginning of this video)
    or
    Change Python to 3.7.* (see the next section of this video)
    Downgrading Python (OPTIONAL)
    (1) Run the easy installer-
    curl pyenv.run | bash
    (2) Add pyenv to .bashrc-
    Edit the .bashrc with the command
    sudo nano ~/.bashrc
    (3) Add the following three lines to the botton of the .bashrc file-
    export PATH="$HOME/.pyenv/bin:$PATH"
    eval "$(pyenv init --path)"
    eval "$(pyenv virtualenv-init -)"
    (4) Restart the terminal-
    exec $SHELL
    (4) Install system packages-
    sudo apt-get install --yes libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev libgdbm-dev lzma lzma-dev tcl-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev wget make openssl
    (5) Update pyenv-
    pyenv update
    (6) Install python versions-
    pyenv install --list
    pyenv install ~~Your python version~~
    (7) Set python verion-
    mkdir project
    cd project
    pyenv local ~~Your python version~~

Komentáře •