Giter VIP home page Giter VIP logo

Comments (9)

MaybeShewill-CV avatar MaybeShewill-CV commented on May 26, 2024

@y11203090135 你可以看一下tusimple lane dataset的readme,里面说的很清楚,你只要将json文件转换成相应的二值图和实例图就好了

from lanenet-lane-detection.

y11203090135 avatar y11203090135 commented on May 26, 2024

@MaybeShewill-CV 好的,谢谢啦!!!

from lanenet-lane-detection.

baihualinxin avatar baihualinxin commented on May 26, 2024

@y11203090135 数据集制作成功了?

from lanenet-lane-detection.

y11203090135 avatar y11203090135 commented on May 26, 2024

@baihualinxin 嗯嗯,图森车道线检测网页有一个demo演示,你可以按照里面的代码自己制作数据集

from lanenet-lane-detection.

baihualinxin avatar baihualinxin commented on May 26, 2024

@y11203090135 我看了跟生成的一样,但是报错了
np.zeros((image.shape[0],image.shape[1],1),np.uint8)
生成1280*720的矩阵全部为0的

通过组合坐标改成255
然后两点连线

在用
cv2.resize(lanes_image,(512,256),cv2.INTER_LINEAR)
把矩阵缩小为512*256的

{
  "lanes": [
        [-2, -2, -2, -2, 632, 625, 617, 609, 601, 594, 586, 578, 570, 563, 555, 547, 539, 532, 524, 516, 508, 501, 493, 485, 477, 469, 462, 454, 446, 438, 431, 423, 415, 407, 400, 392, 384, 376, 369, 361, 353, 345, 338, 330, 322, 314, 307, 299],
        [-2, -2, -2, -2, 719, 734, 748, 762, 777, 791, 805, 820, 834, 848, 863, 877, 891, 906, 920, 934, 949, 963, 978, 992, 1006, 1021, 1035, 1049, 1064, 1078, 1092, 1107, 1121, 1135, 1150, 1164, 1178, 1193, 1207, 1221, 1236, 1250, 1265, -2, -2, -2, -2, -2],
        [-2, -2, -2, -2, -2, 532, 503, 474, 445, 416, 387, 358, 329, 300, 271, 241, 212, 183, 154, 125, 96, 67, 38, 9, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2],
        [-2, -2, -2, 781, 822, 862, 903, 944, 984, 1025, 1066, 1107, 1147, 1188, 1229, 1269, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2]
       ],
  "h_samples": [240, 250, 260, 270, 280, 290, 300, 310, 320, 330, 340, 350, 360, 370, 380, 390, 400, 410, 420, 430, 440, 450, 460, 470, 480, 490, 500, 510, 520, 530, 540, 550, 560, 570, 580, 590, 600, 610, 620, 630, 640, 650, 660, 670, 680, 690, 700, 710],
  "raw_file": "path_to_clip"
}

-2的不要 。lanes 取出一组。。第一组数据取一个,跟h_samples第一个组合。这样的

[632,240]
[625,250]
[617,260]

lanes第二组 跟h_samples组合

[719,240]
[734,250]
[748,260]

这的组合 相连成线是否有问题
生成一张1280*720的单通道全0的图片
根据坐标改成255 相连成线

from lanenet-lane-detection.

baihualinxin avatar baihualinxin commented on May 26, 2024

@y11203090135
https://github.com/TuSimple/tusimple-benchmark/blob/master/example/lane_demo.ipynb 这个链接嘛?
我看了

from lanenet-lane-detection.

y11203090135 avatar y11203090135 commented on May 26, 2024

就是这个,你认真读里面的代码

from lanenet-lane-detection.

baihualinxin avatar baihualinxin commented on May 26, 2024

@y11203090135
用这个 cv2.polylines 这方法

就不能说说用什么方法。。

from lanenet-lane-detection.

xiaozi-ML avatar xiaozi-ML commented on May 26, 2024

就是这个,你认真读里面的代码

请问 训练数据集 二值图和实例图 是如何制作的呢?都是手工标注吗?

请问图森数据如何下载,作者给的那个代码进去什么都没有

from lanenet-lane-detection.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.