PnP

2013-12-28・computer vision

PnP 主要用于求解相机的相对位姿,具体的场景应用比如根据 2D 图像估计人脸的朝向, 在 SLAM 的 tracking 环节,后续帧通过子图与相 …


Structure from motion

2013-12-27・computer vision

基础矩阵与本征矩阵

在第一部分介绍的相机成像坐标为归一化的图像坐标,并非实际采集到的图像坐标,这是因为相机 …


Face morphing

2013-11-01・computer vision

样例

如何实现一个最简单的人脸渐变效果?这时候 GAN,Diffusin 还没有呢,可以用人脸检测 结合 OpenCV 实现一个。流程也很简单,分为一下三 …


Planar Homography

2013-10-28・computer vision

空间变换及投影约束

在 3-D 空间中的一点 $p$ 在两个相机中的坐标分别为 $\mathbf{X_1}, \mathbf{X_2}$,相机1到2之间的旋转、平移分别为 $R, T$,$p$ 点在两个相 …


Linux GPU driver

2012-12-26・linux

lspci 查看显卡

lspci

官方推荐

https://ubuntu.com/server/docs/nvidia-drivers-installation

ubuntu-drivers

Install the metapackage for your kernel flavour (e.g. generic, lowlatency, etc) which is specific to the driver branch (e.g. 535) that you want to install, and whether you want the compute …


Linux network

2012-12-25・linux

netstat/ss

$ # netstat -tnl
$ ss -tnlp # new command
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 0.0.0.0:8022            0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN
tcp        0      0 …

GDB usage

2012-12-24・linux

编译选项

CPPFLAGS=-DDEBUG CXXFLAGS="-g -O0"

生成可调式的可执行文件,-g 保存调试符号,-O0 不做编译器优化。

启动命令

进入调试窗口

gdb a.out

如果 …


Linux command

2012-12-24・linux

apt

查找找不到的 so 文件

dpkg -S /path/to/file

或者

apt-file search so_name

查找已安装的软件

apt list --installed

tar

-c: 建立压缩档案 -x:解压 -t:查看内容 -r:向压 …


Linux Graphic and VNC

2012-12-24・linux

Graphic

You only need to know 4 terms:

  • Display manager
  • Window Manager
  • Graphical User Interfaces (GUI)
  • Desktop Environments

Display manager

Examples are LightDM, GDM, KDM, and LXDM. They normally have display manager somewhere in their names. These start the X server at boot and provide a login screen. They often …


Linux file permissions and ownership

2012-11-24・linux

特殊权限

Special permissions make up a fourth access level in addition to user, group, and other. Special permissions allow for additional privileges over the standard permission sets (as the name suggests). There is a special permission option for each access level discussed previously. Let's take a look …