Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding in Object Tracking #11

Merged
merged 31 commits into from
Mar 17, 2021
Merged
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update install_requirements.sh
  • Loading branch information
luke-iqt committed Mar 3, 2021
commit 90c7d50ec842c1683b2b68cd8ef94846f43662c5
3 changes: 2 additions & 1 deletion object-tracker/opencv/install_requirements.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,13 @@ if grep -s -q "Mendel" /etc/os-release; then
exit 1
fi
sudo apt install python3-opencv
sudo pip3 install paho-mqtt
elif grep -s -q "Raspberry Pi" /sys/firmware/devicetree/base/model; then
RASPBIAN=$(grep VERSION_ID /etc/os-release | sed 's/VERSION_ID="\([0-9]\+\)"/\1/')
echo "Raspbian Version: $RASPBIAN"
if [[ "$RASPBIAN" -ge "10" ]]; then
# Lock to version due to bug: https://github.com/piwheels/packages/issues/59
sudo pip3 install opencv-contrib-python==4.1.0.25
sudo pip3 install opencv-contrib-python==4.1.0.25 paho-mqtt
sudo apt-get -y install libjasper1 libhdf5-1* libqtgui4 libatlas-base-dev libqt4-test
else
echo "For Raspbian versions older than Buster (10) you have to build OpenCV yourself"
Expand Down