Skip to content

Instantly share code, notes, and snippets.

View jbehley's full-sized avatar
🙃
I may be slow to respond.

Jens Behley jbehley

🙃
I may be slow to respond.
View GitHub Profile
@jbehley
jbehley / voxelize.cpp
Created April 4, 2019 07:17
Voxelize KITTI point clouds with given poses
#include <rv/Laserscan.h>
#include <fstream>
#include <iostream>
#include "io/KITTIReader.h"
#include "util/kitti_utils.h"
using namespace rv;
class Voxelgrid {
public:
@jbehley
jbehley / nuscenes2kitti.py
Created July 21, 2020 21:18
Convert nuScenes point clouds into KITTI format
#!/usr/bin/python3
import sys
from nuscenes.nuscenes import NuScenes
import nuscenes.utils.geometry_utils as geoutils
from pyquaternion import Quaternion
import numpy as np
import os
import numpy.linalg as la
from PIL import Image
@jbehley
jbehley / merge_predictions.py
Created September 2, 2020 08:26
merge point pillar predictions with semantic segmentation
## Merge detections from PointPillar with the predictions of a semantic segmentation.
import argparse
import math
from tqdm import tqdm
from matplotlib.animation import FuncAnimation
import os
import pickle
import numpy as np
import collections