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 - BDD100k #37

Open
wants to merge 4 commits into
base: pathdet-dataset-curation-bdd100k
Choose a base branch
from

Conversation

sarun-hub
Copy link

@sarun-hub sarun-hub commented Jan 6, 2025

Description

Submitting this PR for issue #8.

Format

Format is same as Tran's TuSimple.

Feature

1. Usage

python process_bdd100k.py. --mask_dir /path/to/drivable/path/mask --image_dir path/to/raw/image --output_dir path/to/output

2. Workflow

Cropping with crop margins.

  • test
{
    "top" : 0,
    "right" : 140,
    "bottom" : 220,
    "left" : 140
}

3. Audit Data

Use lane detection marking (in Json). Filter the drivable path image, and drivable path json to new directory.
Note: need to do manually auditing again.

Conditions:

  1. laneDirection is not vertical.
  2. There is lane detected.
  3. There is drivable path detected.
  4. category is not crosswalk.

Can be done by executing audit_data.py with command line arguments.

  • --lane_json: Path to lane detection json.
  • --mask_dir: Path to drivable path mask directory.
  • --output_dir : Path to post-auditing directory.
  • --max_files: Maximum number of files to process.

@sarun-hub sarun-hub force-pushed the pathdet-dataset-curation-bdd100k branch from ebd2914 to fc6ddc4 Compare January 13, 2025 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant