hunse / kitti Goto Github PK
View Code? Open in Web Editor NEWTools for working with the KITTI dataset in Python
License: MIT License
Tools for working with the KITTI dataset in Python
License: MIT License
Hello,
As I'm not yet familiar with Python and it not described on the ReadMe, I just would like to know, what can we do with your tool ?
Actually I'm working with the KITTI dataset, especially with the Odometry part and I would like to compare my results with the ground truth provided by KITTI.
Thank you,
Regards
is there any way to annotate my own bounding box(tracklets) for kitti dataset.
all the dev kit i found is for visualisation not an annotation tool.
Got the following two error from setup.py
:
- kitti/bp/module.cpp:580:10: fatal error: numpy/arrayobject.h: No such file or directory
#include "numpy/arrayobject.h"
- kitti/bp/module.cpp:586:10: fatal error: opencv2/opencv.hpp: No such file or directory
#include "opencv2/opencv.hpp"
solved by:
sudo apt install libopencv-dev
pip install numpy
and the following changes to setup.py
diff --git a/setup.py b/setup.py
index 83c228c..cde6e6d 100644
--- a/setup.py
+++ b/setup.py
@@ -2,16 +2,22 @@ from setuptools import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
+import numpy
+import subprocess
+
+proc_libs = subprocess.check_output("pkg-config --libs opencv".split())
+proc_incs = subprocess.check_output("pkg-config --cflags opencv".split())
+libs = [lib for lib in str(proc_libs, "utf-8").split()]
ext_modules = []
ext_modules.append(Extension(
"kitti.bp.module",
["kitti/bp/module.pyx", "kitti/bp/interp.cpp", "kitti/bp/stereo.cpp", "kitti/bp/bp.cpp"],
- include_dirs=["kitti/bp", "/opt/opencv/include"],
+ include_dirs=[numpy.get_include(), "kitti/bp", "/opt/opencv/include"],
library_dirs=["/opt/opencv/lib"],
libraries=["opencv_core", "opencv_imgproc"],
language="c++",
- extra_compile_args=["-w", "-O3"]))
+ extra_compile_args=["-w", "-O3"].append(libs)))
setup(
name="kitti",
Just wanted to share the fix
Is there a code for generation depth maps from lidar points like the depth completion dataset in kitti
Dumb question - but what is the easiest way of downloading the kitty dataset? Is there an automatic way of getting it all?
Hi Hunse. I am fairly new to Python. Until now I used to work on C++ exclusively so please accept my apologies for a naive questions:
def get_velodyne_dir(drive, **kwargs): drive_dir = get_drive_dir('C:/Users/XYZABC/Downloads/2011_09_26/2011_09_26_drive_0001_extract', **kwargs) return os.path.join(drive_dir, 'velodyne_points', 'data')
Is there a code for generation depth maps from lidar points like the depth completion dataset in kitti.
@hunse
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.