All Projects → AbangLZU → LaneNetRos

AbangLZU / LaneNetRos

Licence: other
Ros node to use LaneNet to detect the lane in camera

Programming Languages

python
139335 projects - #7 most used programming language
C++
36643 projects - #6 most used programming language
CMake
9771 projects

Projects that are alternatives of or similar to LaneNetRos

Lanenet Lane Detection
Unofficial implemention of lanenet model for real time lane detection using deep neural network model https://maybeshewill-cv.github.io/lanenet-lane-detection/
Stars: ✭ 1,690 (+1180.3%)
Mutual labels:  lane-detection, lanenet
Awesome-Lane-Detection
A paper list with code of lane detection.
Stars: ✭ 34 (-74.24%)
Mutual labels:  lane-detection, lanenet
VPGNet for lane
Vanishing Point Guided Network for lane detection, with post processing
Stars: ✭ 33 (-75%)
Mutual labels:  lane-detection
Virtual-Lane-Boundary-Generation
Virtual Lane Boundary Generation for Human-Compatible Autonomous Driving
Stars: ✭ 22 (-83.33%)
Mutual labels:  lane-detection
LaneandYolovehicle-DetectionLinux
Lane depertaure and Yolo objection detection C++ Linux
Stars: ✭ 16 (-87.88%)
Mutual labels:  lane-detection
AdvancedLaneLines
Lane identification system for camera based systems.
Stars: ✭ 61 (-53.79%)
Mutual labels:  lane-detection
Self-Driving-Car
Lane Detection for Self Driving Car
Stars: ✭ 14 (-89.39%)
Mutual labels:  lane-detection
conde simulator
Autonomous Driving Simulator for the Portuguese Robotics Open
Stars: ✭ 31 (-76.52%)
Mutual labels:  lane-detection
Codes-for-IntRA-KD
Inter-Region Affinity Distillation for Road Marking Segmentation (CVPR 2020)
Stars: ✭ 105 (-20.45%)
Mutual labels:  lane-detection
Self-Driving-Car-Engines
Gathers signal processing, computer vision, machine learning and deep learning for self-driving car engines.
Stars: ✭ 68 (-48.48%)
Mutual labels:  lane-detection
Self Driving Car
Udacity Self-Driving Car Engineer Nanodegree projects.
Stars: ✭ 2,103 (+1493.18%)
Mutual labels:  lane-detection
Swayam-Self-Driving-Car
This is an implementation of various algorithms and techniques required to build a simple Self Driving Car. A modified versions of the Udacity Self Driving Car Simulator is used as a testing environment.
Stars: ✭ 17 (-87.12%)
Mutual labels:  lane-detection
lane detection
Lane detection for the Nvidia Jetson TX2 using OpenCV4Tegra
Stars: ✭ 15 (-88.64%)
Mutual labels:  lane-detection
copilot
Lane and obstacle detection for active assistance during driving. Uses windowed sweep for lane detection. Combination of object tracking and YOLO for obstacles. Determines lane change, relative velocity and time to collision
Stars: ✭ 95 (-28.03%)
Mutual labels:  lane-detection
DVCNN Lane Detection
Accurate and Robust Lane Detection based on Dual-View Convolutional Neutral Network
Stars: ✭ 25 (-81.06%)
Mutual labels:  lane-detection
lane-detection
Lane detection MATLAB code for Kalman Filter book chapter: Lane Detection
Stars: ✭ 21 (-84.09%)
Mutual labels:  lane-detection
SAComputerVisionMachineLearning
Computer Vision and Machine Learning related projects of Udacity's Self-driving Car Nanodegree Program
Stars: ✭ 36 (-72.73%)
Mutual labels:  lane-detection
Advanced-lane-finding
Advanced lane finding
Stars: ✭ 50 (-62.12%)
Mutual labels:  lane-detection
AirCracker
Basic python script for detect airdroid users in lan
Stars: ✭ 37 (-71.97%)
Mutual labels:  lane-detection
Awesome Lane Detection
A paper list of lane detection.
Stars: ✭ 1,990 (+1407.58%)
Mutual labels:  lane-detection

LaneNet Ros Node

This project is modified from the lanenet-lane-detection project(see: https://github.com/MaybeShewill-CV/lanenet-lane-detection)

Here I use lanenet-lane-detection project to implement a Ros node to do lane detection. Input and output parameters can be config at launch file.

Dependencies

Install the dependencies as lanenet-lane-detection metioned:

pip install -r requirements.txt

Then you need to install the ROS kinetic.

That's all.

launch the node

In you catkin workspace src dir, clone the project:

git clone https://github.com/AbangLZU/LaneNetRos.git

download the pretrained weight(trained by @MaybeShewill-CV) in: https://www.dropbox.com/sh/tnsf0lw6psszvy4/AAA81r53jpUI3wLsRW6TiPCya?dl=0

copy these checkpoints files to the foler:

cd model
mkdir tusimple_lanenet
cd tusimple_lanenet
cp -r YOU_DOWNLOAD_FILES .

build and source (in the workspace)

catkin_make
sorce devel/setup.bash

you may need to change the mode of the python script, as follow:

cd lane_detector/scripts/
sudo chmod +x lanenet_node.py

Then you can launch the lane detector node with:

roslaunch lane_detector lanenet.launch

play one of you rosbag which contains the images, I use the KITTI dataset, which can be download at: http://www.cvlibs.net/datasets/kitti/raw_data.php?type=road

Download any drive data as you want (the synced+rectified data amd calibration), use tomas789's project kitti2bag (see: https://github.com/tomas789/kitti2bag) to convert it to a rosbag.

Use the following command to play the bag:

rosbag play kitti_2011_??????????.bag

Open your RQT to visualize the output, assign the image topic as you set in the launch file, and you should get this:

See more in this video:

IMAGE ALT TEXT HERE

It's almost realtime in my GTX1070. If you think this work is useful to you, please both star this repository and the lanenet-lane-detection repository. THX!

Future works

  • Implement the Curve Fitting of the lane with a C++ node.
  • Retrain the LaneNet, improve its performance
  • TensorRT optimization
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].