This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
' | |
@interact(n=(0, len(faces)-1)) | |
' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
multithreading vs multiprocessing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
to replace the word with another word in given files. | |
'replace "bottle" "box" -- ./images/*.xml' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bset way to install nvidia driver is download run file from nvidia web site and install it by | |
sudo service lightdm(or gdm) stop | |
sudo ./..run --dkms | |
then continue to install cuda using this link. | |
https://rodrigodzf.github.io/setup/cuda/2019/04/15/cuda-setup.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void calibrate_lidarwithradar(std::vector<cv::Point3f> world_points,std::vector<cv::Point2f> rad_points ){ | |
cv::Mat cameraMatrix(3,3,cv::DataType<double>::type); | |
cv::setIdentity(cameraMatrix); | |
cv::Mat distCoeffs(4,1,cv::DataType<double>::type); | |
distCoeffs.at<double>(0) = 0; | |
distCoeffs.at<double>(1) = 0; | |
distCoeffs.at<double>(2) = 0; | |
distCoeffs.at<double>(3) = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
qt commands |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <opencv2/opencv.hpp> | |
#include <bts24x.h> | |
#include <bts24x_setting.h> | |
#include <curses.h> | |
using namespace cv; | |
void test_callback(char* recvdata, int len_recv); | |
BTS24x radar; | |
int en_start = 0; | |
template<typename ... Args> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ros solutions |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import torch, os, cv2 | |
from model.model import parsingNet | |
from utils.common import merge_config | |
from utils.dist_utils import dist_print | |
import torch | |
import scipy, tqdm | |
import numpy as np | |
import torchvision.transforms as transforms | |
from data.dataset import LaneTestDataset |
NewerOlder