4/30/2021
python source code to print list of all subfolder and files
4/29/2021
Install python 3.8 on Linux
Following below step:
-------------
wget https://www.python.org/ftp/python/3.8.3/Python-3.8.3.tgz
tar xvf Python-3.8.3.tgz
cd Python-3.8*/
./configure --enable-optimizations
make altinstall
-------------
Run amazon-linux 2 on local computer using Docker
I suppose you already installed docker.
1. pull Amazon Linux image
> docker pull amazonlinux
* https://hub.docker.com/_/amazonlinux
2. run container and enter the os
> docker run -it amazonlinux /bin/bash
3. check version
bash-4.2# > cat /etc/os-releaseNAME="Amazon Linux"
VERSION="2"
ID="amzn"
ID_LIKE="centos rhel fedora"
VERSION_ID="2"
PRETTY_NAME="Amazon Linux 2"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"
HOME_URL="https://amazonlinux.com/"
Thank you.
🙇🏻♂️
4/20/2021
error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8) fatal: the remote end hung up unexpectedly
I encounter this error when I push my repo.
>>>
error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)
fatal: the remote end hung up unexpectedly
<<<
I am trying following things to solve, It comes from stack overflow.
1.
git config --global http.version HTTP/1.1
git push
git config --global http.version HTTP/2
2.
git config http.postBuffer 524288000
I tired both, but I failed.
In luck you could success.
Thank you.
4/16/2021
jupyter print clear
Use Ipython.disply to make printed thing clear.
Thank you.
🙇🏻♂️
2/19/2021
TeamViewer, can't access remote computer on ubuntu after a reboot
It works for me.
sudo gedit /etc/gdm3/custom.conf
Uncomment this line in custom.conf file:
WaylandEnable=false
and Reboot.
1/29/2021
Importerror: libgl.so.1: cannot open shared object file: no such file or directory opencv error
Try this one first:
pip install opencv-python--headless
or
install follow in case centos or aws linux docker
RUN yum install whatprovides libGL.so.1 -y
install follow in case linux docker
Thank you, Good luck!
-
This is data acquisition source code of LMS511(SICK co.) Source code is made by MFC(vs 2008). The sensor is communicated by TCP/IP. ...
-
Image size of origin is 320*240. Processing time is 30.96 second took. The result of stitching The resul...
-
Background subtractor example souce code. OpenCV support about 3 types subtraction algorithm. Those are MOG, MOG2, GMG algorithms. Det...
-
Created Date : 2011.2 Language : C/C++ Tool : Microsoft Visual C++ 2010 Library & Utilized : OpenCV 2.2 Reference : Interent Refer...
-
This post is about how to copy Mat data to vector and copy vector data to Mat. Reference this example source code. printf ( "/////...
-
EMD(earth mover distance) method is very good method to compare image similarity. But processing time is slow. For using the EMD compare, ...
-
This example source code is to extract HOG feature from images. And save descriptors to XML file. The source code explain how to use HOGD...
-
I use MOG2 algorithm to background subtraction. The process is resize to small for more fast processing to blur for avoid noise affectio...
-
Logistic Classifier The logistic classifier is similar to equation of the plane. W is weight vector, X is input vector and y is output...
-
* Introduction - The solution shows panorama image from multi images. The panorama images is processing by real-time stitching algorithm...