Skip to content

Instantly share code, notes, and snippets.

@walkerning
walkerning / ipm.py
Last active April 10, 2024 13:06
Inverse perspective transform for lane detection
# -*- coding: utf-8 -*-
import numpy as np
class IPM(object):
"""
Inverse perspective mapping to a bird-eye view. Assume pin-hole camera model.
There are detailed explanation of every step in the comments, and variable names in the code follow these conventions:
`_c` for camera coordinates
`_w` for world coordinates
`uv` for perspective transformed uv 2d coordinates (the input image)
@terrydang
terrydang / install_nvidia_driver_in_ubuntu1604.md
Last active October 15, 2024 01:17
Ubuntu 16.04 安装英伟达(Nvidia)显卡驱动

Ubuntu 16.04 安装英伟达(Nvidia)显卡驱动

配有英伟达显卡的主机,装完 Ubuntu 16.04 后出现闪屏现象,是由于没有安装显卡驱动。

显卡型号
NVIDIA Corporation GM204 [GeForce GTX 970]

@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active December 27, 2024 01:35
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name: