Skip to content

zyj-2000/Common-CV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 

Repository files navigation

Common CV

This project contains some problems we met when learning Computer Vision (CV), hope it can help you a lot!

Welcome to give your problems about CV in Issues and welcome to communicate with each other!

TMUX

tmux new-session -t projection

ColMap

export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH

Web

How to get the poste time of an URL?: Reference

Useful Tools

CUDAs

Reference cuda-11.3

Codes in word/wps

https://zhuanlan.zhihu.com/p/108483150

vim ~/.bashrc
source ~/.bashrc
sudo rm -rf /usr/local/cuda
sudo ln -s /usr/local/cuda-9.2 /usr/local/cuda

Face Parsing

Reference

Face Detector

Reference

Some Concepts of Image Quality

Bokeh (散景) 景深较浅的摄影成像中,落在景深以外的画面,会有逐渐产生松散模糊的效果

Chromatic Aberration (色差) 指光学上透镜无法将各种波长的色光都聚焦在同一点上的现象,色差是由于镜头散射现象而造成的,图像中的物体周围特别是高对比度的情况下可能出现模糊或明显的色彩边缘(红、绿、蓝、黄、紫、洋红)就称之为色差

Shallow depth-of-field (浅景深)

Common Problems

Q1. The Mathype in Word can't delete the formula:

Refer to CSDN

Q2. The Problems occurred about xcb and MoTTY X11:

sudo apt-get install xvfb
xvfb-run pyhon xxx.py

Q3. The certificate expires when the mirror source is accessed:

sudo apt-get -o Acquire::https::mirrors.tuna.tsinghua.edu.cn::Verify-Peer=false install xxx

Q4. The source of pip

pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple

Q5. The connection of huggingface

# An example:
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /api/models/runwayml/stable-diffusion-v1-5 (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f8fc3db9990>, 'Connection to huggingface.co timed out. (connect timeout=None)'))
# Solution:
Find the corespingding model in huggingface:
https://huggingface.co/runwayml/stable-diffusion-v1-5/tree/main

Q6. Install OpenGL

Refer to CSDN

Q7. nvidia-smi: "Failed to initialize NVML: Driver/library version mismatch" step 1. reboot step 2. re install the driver of gpu

sudo apt-get purge nvidia*
sudo systemctl isolate multi-user.target
sudo modprobe -r nvidia-drm
sudo ./NVIDIA-Linux-x86_64-530.41.03.run

Q8. Dismatch between CUDA and Eigen3 Refer to CSDN

Q9. TypeError: ‘numpy._DTypeMeta‘ object is not subscriptable CSDN

Q10. DISPLAY?

xeyes -display 192.168.196.104:0.0
sudo docker run --privileged --gpus all --name dlct3 -idt -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY docker_dlc:v1

Q11. print(list) output is [] while len(list) is not zero.

due to the list is [[], [], []……] so it's length is not zero but the print(list) is [].  

Q12.Codec between H264 and MPEG4

ffmpeg -i MPEG4.mp4 -vcodec h264 H264.mp4

Q13. VScode SSH failed XRH: CSDN

Q14. Elservier Manuscripts: CSDN

About

A project to talk about some CV problems

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published