This repository contains the setup and deployment of gate opener with ANPR capabilities. The system which this project is deployed on is Ubuntu 22.04 server and utilizes NVIDIA 3060Ti graphics card.
Before starting this project you need to install into your system:
- Docker and Docker Compose
- Nvidia Drivers
sudo curl -L https://github.com/docker/compose/releases/download/v2.26.1/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
sudo apt install -y docker.io
curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg \
&& curl -s -L https://nvidia.github.io/libnvidia-container/stable/deb/nvidia-container-toolkit.list | \
sed 's#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g' | \
sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.list
sudo apt-get update
sudo apt-get install -y nvidia-container-toolkit
sudo nvidia-ctk runtime configure --runtime=docker
sudo systemctl restart docker
sudo apt install nvidia-driver-535
sudo reboot
sudo docker run --rm --runtime=nvidia --gpus all ubuntu nvidia-smi
git clone https://github.com/kaunofakultetas/gateopener-server.git
cd gateopener-server
cd gate-neural
./runUpdateThisStack.sh
cd ..
cd gate-processor
cp docker-compose.yml.sample docker-compose.yml
nano docker-compose.yml
./runUpdateThisStack.sh
cd ..
Feel free to submit issues and pull requests.
- YOLOv7 creators and orginal implementation developer
- YOLOv7 modified model creator to detect numberplates
- The open-source community for their continuous contributions.