Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PathDet] Data curation - CULane #26

Conversation

TranHuuNhatHuy
Copy link
Contributor

Description

This pull request is an attempt to implement data preprocessing for CULane lane detection dataset, and to address issue #14 .

Features

1. Usage

python process_culane.py --dataset_dir /path/to/CULane --output_dir /path/to/output

2. Workflow

Basically similar to TuSimple, except cropping with default crop margins:

{
    "top" : 0,
    "right" : 390,
    "bottom" : 160,
    "left" : 390
}

Bottom margin of 160 pxl is to ensure the redundant car hood is cropped, trial-and-error derived.

Left and right margins of 390 pxl is to ensure W:H = 2:1 ratio. The cropped dimension is 860 x 430.

image

Also, there is a sampling rate to prevent too-similar frames leading to overfitting. Default sampling rate is 5.

@m-zain-khawaja could you please kindly review (which I believe we did previously) and merge this? I will proceed with the upload once the whole process run is finished.

@m-zain-khawaja m-zain-khawaja merged commit ce229b0 into autowarefoundation:path-det-dataset-curation Dec 24, 2024
1 check passed
@m-zain-khawaja m-zain-khawaja self-requested a review December 24, 2024 10:09
@m-zain-khawaja m-zain-khawaja added the enhancement New feature or request label Dec 24, 2024
@m-zain-khawaja m-zain-khawaja self-assigned this Dec 24, 2024
Copy link
Collaborator

@m-zain-khawaja m-zain-khawaja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good - thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

Successfully merging this pull request may close these issues.

2 participants