You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[CUDA](https://developer.nvidia.com/cuda-toolkit-archive) with [cuDNN](https://developer.nvidia.com/rdp/cudnn-archive) (more details about the versions below)
51
69
52
-
## Building
53
-
TODO: Finalize README
70
+
## Try it out
71
+
For convenience, [releases](https://github.com/GTruf/Driver-Drowsiness-Detector/releases) with a fully built project with
72
+
all the necessary libraries to run are prepared. On Linux, the **DDDetector** executable is located in the **bin** folder.
73
+
74
+
The project releases use [CUDA 12.2](https://developer.nvidia.com/cuda-toolkit-archive) with [cuDNN v8.9.2 (for Windows) / v8.9.5 (for Linux) for CUDA 12.x](https://developer.nvidia.com/rdp/cudnn-archive)
75
+
(cuDNN libraries are in the release, only CUDA and NVIDIA drivers are mandatory for installation on the computer).
76
+
**For Windows**, everything installs in a few clicks, you just need to download and run the installers from the official
77
+
NVIDIA website. **For Linux** (the project was tested on Ubuntu 22.04) you can use [this instruction](https://gist.github.com/denguir/b21aa66ae7fb1089655dd9de8351a202)
78
+
or others, also take a look at [these notes](#notes-for-linux).
79
+
80
+
OpenCV libraries have version [4.8.0](https://github.com/opencv/opencv/releases/tag/4.8.0) in the release with support
81
+
for the following GPU architectures: [5.0, 5.2, 6.0, 6.1, 7.0, 7.5, 8.0, 8.6, 8.9, 9.0](https://en.wikipedia.org/wiki/CUDA#GPUs_supported) and require CUDA/cuDNN of
82
+
the versions mentioned above.
83
+
84
+
## Build
85
+
To build and run the project locally, you need to have [Git](https://git-scm.com/downloads), [Python 3.5](https://www.python.org/downloads/)
86
+
and higher, and all necessary [dependencies](#dependencies) installed on your computer.
87
+
88
+
#### Notes for Linux
89
+
1. Need **binutils** and **OpenGL** packages.
90
+
2. On Linux, [RUNPATH is set for the executable](CMakeLists.txt#L85) (libraries are searched for in the **lib64**
91
+
folder at level with **bin** in the **Qt6**, **opencv**, **cuda** subfolders), so if you want to, you can put framework
92
+
libraries there, so that the linker will try to find them there first.
0 commit comments