sudo apt install build-essential gcc-6 g++-6
sudo update-alternatives --remove-all gcc
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 10
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 20
sudo update-alternatives --set gcc /usr/bin/gcc-6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Original code here: | |
| # https://github.com/opencv/opencv/blob/master/samples/python/video_threaded.py | |
| #!/usr/bin/env python3 | |
| ''' | |
| Multithreaded video processing minimal sample. | |
| Usage: | |
| python3 video_threaded.py | |
| Shows how python threading capabilities can be used |
It's replaced by this new guide which supports both 64-bit and 32-bit libraries.
This guide will show you how to download, compile and install the nvidia-legacy-340xx-driver on Debian 12. Some people install the driver directly from sid but this will mix packages from both stable and unstable which may create issues. It's recommended to update and upgrade your system before you start.