Skip to content

Instantly share code, notes, and snippets.

View ixtiyoruz's full-sized avatar
:electron:
how youre doing ?

ixtiyoruz

:electron:
how youre doing ?
View GitHub Profile
@ixtiyoruz
ixtiyoruz / jupyter_magics
Created March 5, 2022 01:24
magics inside jupyter
'
@interact(n=(0, len(faces)-1))
'
multithreading vs multiprocessing
@ixtiyoruz
ixtiyoruz / commands
Created August 17, 2021 00:24
useful commands linux
to replace the word with another word in given files.
'replace "bottle" "box" -- ./images/*.xml'
@ixtiyoruz
ixtiyoruz / gist:bb574b7def8a437e66e5b5579d8bc211
Last active January 26, 2021 07:00
Installing CUDA 8.0 in Ubuntu 18.04 and latest driver
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
@ixtiyoruz
ixtiyoruz / calibration
Created November 24, 2020 07:06
calibration
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;
@ixtiyoruz
ixtiyoruz / qt_commands
Created August 20, 2020 04:49
useful qt commands
qt commands
@ixtiyoruz
ixtiyoruz / linux commands
Last active April 21, 2021 05:52
linux commands
We couldn’t find that file to show.
@ixtiyoruz
ixtiyoruz / bitsensing radar
Created August 11, 2020 06:42
bitsensing problem
#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>
@ixtiyoruz
ixtiyoruz / ros_solutions
Created July 10, 2020 01:35
ros issues and solutions
ros solutions
@ixtiyoruz
ixtiyoruz / 1122334455
Created June 30, 2020 06:25
1122334455
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