Skip to content

Commit

Permalink
Experimenting with manual installation
Browse files Browse the repository at this point in the history
  • Loading branch information
hashaam1217 committed Jun 4, 2024
1 parent a1ba327 commit 9e2b9e7
Showing 1 changed file with 34 additions and 1 deletion.
35 changes: 34 additions & 1 deletion docker/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,40 @@ sudo apt update
# Manual installation (debugging)
sudo apt install pip -y
sudo apt update
sudo apt install libopencv-dev python3-opencv



### Installing Opencv --START
#!/bin/bash

# Install prerequisites
sudo apt update
sudo apt install -y cmake g++ wget unzip

# Download and unpack OpenCV sources
wget -O opencv.zip https://github.com/opencv/opencv/archive/4.5.3.zip
unzip opencv.zip

# Create build directory
mkdir -p build && cd build

# Configure and build OpenCV
cmake ../opencv-4.5.3
make -j$(nproc)

# Install OpenCV
sudo make install

# Clean up
cd ..
rm -rf build opencv.zip opencv-4.5.3

### Installing Opencv --END




#sudo apt install libopencv-dev python3-opencv
# sudo apt install ros-foxy-cv-bridge

# fetch repo
Expand Down

0 comments on commit 9e2b9e7

Please sign in to comment.