Installation on Raspberry Pi¶
Vim¶
The Vi Editor is older, install Vim
Bash¶
Add the following into ~/.bashrc file
alias ll="ls -l"
export HISTSIZE=2000
export HISTFILESIZE=2000
# ignorespace erasedups
export HISTCONTROL=ignoreboth
SSH and Git¶
copy the output into git's settingsgit config --global user.email "4833102+asarangaram@users.noreply.github.com"
git config --global user.name "Ananda S RPi"
Hardware¶
Modify the following via TUI
Advanced Options=>PCIe Speed=>Yes=>FinishAdvanced Options>Bootloader Version, chooseLatest, allow the system to update.
When requesting to reboot, accept yes or sudo reboot now
Install Hailo¶
The below installs the default version. Just check if the version is supported by Digirum.
sudo apt install hailo-all
hailortcli fw-control identify
sudo systemctl enable --now hailort.service
Install DeGirum¶
Create a virtual Environment¶
python3 -m venv ~/degirum_env
source ~/degirum_env/bin/activate
cd ~/demos
git clone git@github.com:asarangaram/degirum_hailo_examples.git
cd degirum_hailo_examples
pip install -r requirements.txt
# for some reasons, these two needed to be installed seperately
pip install matplotlib lancedb
python test.py
setup Jupiter Lab.¶
python -m ipykernel install --user --name=degirum_env --display-name "Python (degirum_env)"
jupyter lab --no-browser --port=8889
Now you can access the Jupiter Notebooks from a browser with the link displayed on the terminal¶
Take Backup¶
Image Name: SDCardBackup_Hailo_Digirum.img