sudo apt update
sudo apt --fix-missing update
sudo dpkg -i --force-overwrite <your path>/<your app want to install>.deb
sudo apt -f install -y
sudo dpkg --configure -a
sudo dpkg -l | grep ^..r
sudo apt update
sudo apt install -y fuse libfuse3-3 libfuse3-dev bzip2 libbz2-dev libicu-dev libz-dev libattr1-dev
sudo apt install -y zlib1g-dev clang cmake gcc-c++ git g++ build-essential
For older versions of Ubuntu, please install:
sudo apt install -y fuse libfuse-dev libicu-dev bzip2 cmake libz-dev libbz2-dev libattr1-dev
sudo apt install -y clang git g++ build-essential
#!/bin/bash | |
# License: MIT. See license file in root directory | |
# Copyright(c) JetsonHacks (2017-2019) | |
# Modify by SouthernVEVO (2021-2022) | |
cd ~ | |
OPENCV_VERSION=4.4.0 | |
#4.5.3 | |
# Jetson Nano |
Open Powershell windows and run line by line
powershell Set-ExecutionPolicy RemoteSigned -scope CurrentUser
iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
scoop was installed successfully
scoop install neofetch
neofetch
##install https://brew.sh | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
brew update | |
brew upgrade | |
##nvidia gfx driver install | |
https://github.com/vulgo/webdriver.sh |
The code for this tutorial is here
Opencv provides are useful, but limited, method of building a GUI. A much more complete system could be acheived using pyqt.
The question is, how do we display images. There are quite a few possible routes but perhaps the easiest is to use QLabel
since it has a setPixmap
function. Below is some code that creates two labels. It then creates a grey pixmap and displays it one of the labels. code: staticLabel1.py
from PyQt5.QtWidgets import QWidget, QApplication, QLabel, QVBoxLayout
from PyQt5.QtGui import QPixmap, QColor
import sys
# -*- coding: utf-8 -*- | |
""" | |
Clone on Wed Jul 21 16:39:29 2021 | |
@author: xyz | |
This code is used to resize the images from dir/subdir to new directory (newdir/subdir) with its corresponding subdirectory | |
Original folder with it subdir: | |
./vegetables |
sudo apt install --reinstall python3
sudo apt install --reinstall python
`` sudo update-alternatives --remove-all python
Run the following commands as root or user with sudo access to update the packages list and install the prerequisites: To install the Development Tools packages, run the following command as root or user with sudo privileges :
$ sudo apt update
$ sudo apt-get upgrade -y
$ sudo apt-get dist-upgrade -y
$ sudo apt-get install build-essential software-properties-common manpages-dev -y
$ sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
$ sudo apt-get update -y