explaingit

huangyh98/drivehack

Analysis updated 2026-05-18

23PythonAudience · researcherComplexity · 5/5LicenseSetup · hard

TLDR

A research add-on for DriveStudio that inserts an animated running character into reconstructed 3D driving scenes to test self-driving software.

Mindmap

mindmap
  root((DriveHack))
    What it does
      Adds a character to 3DGS scenes
      Matches lighting and depth
      Tests driving software
    Tech stack
      Python
      PyTorch
      3D Gaussian Splatting
    Use cases
      Pedestrian test scenarios
      Custom character insertion
      Multi-camera rendering
    Audience
      Researchers
      AV safety engineers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Generate adversarial pedestrian test scenarios for self-driving car software.

USE CASE 2

Insert a custom animated character into a photoreal reconstructed driving scene.

USE CASE 3

Render synchronized multi-camera test videos with a bird's eye view overlay.

What is it built with?

PythonPyTorchCUDA3D Gaussian Splatting

How does it compare?

huangyh98/drivehackaaravkashyap12/advise-project-approachabu-rayhan-alif/django-saas-kit
Stars232323
LanguagePythonPythonPython
Setup difficultyhardeasymoderate
Complexity5/52/53/5
Audienceresearcherdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1day+

Requires a working DriveStudio install with a trained Waymo scene checkpoint plus a capable GPU.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

In plain English

DriveHack is a research add-on for testing self-driving car software. It works on top of another project called DriveStudio, which reconstructs realistic 3D driving scenes from real Waymo self-driving car data using a rendering technique called 3D Gaussian Splatting, often shortened to 3DGS. DriveHack takes one of these reconstructed scenes and drops a fully textured running character into it, letting the character move along a path you choose. You draw the character's path in a browser based 3D editor by clicking points inside the reconstructed scene. The tool then computes a walking or running pace that matches the length of the path and the length of the output video, so the character's feet do not slide or overshoot as it moves. Other vehicles, pedestrians, and cyclists already present in the scene keep moving too, and the system checks for collisions between them and the added character over time. The character is blended into the scene with matching lighting, so its shading follows the sun and sky conditions already present in the reconstruction, and a pixel by pixel depth check makes sure the character is correctly hidden behind or in front of scene objects as it moves through them. The main purpose described in the README is generating test scenarios for self-driving car software: placing a person unexpectedly in the path of a vehicle inside a realistic scene, at scale, to see how a driving system responds. Output videos combine five camera angles matching a real Waymo vehicle's camera layout along with a bird's eye view map in a single grid. Setting this up is involved. You first need a working DriveStudio installation with a scene already trained from Waymo data, which itself needs a capable Nvidia GPU, specific CUDA and PyTorch versions, and roughly fifty gigabytes of disk space per scene, plus several hours to train. Only after that is DriveHack installed on top, adding its own scripts, a five camera configuration file, and a downloaded character animation file. The project also supports baking custom characters from Mixamo using Blender. DriveHack is released under the MIT license.

Copy-paste prompts

Prompt 1
Set up DriveHack on top of an existing DriveStudio scene checkpoint.
Prompt 2
Draw a pedestrian trajectory in DriveHack's browser editor and export it to JSON.
Prompt 3
Render a 5-camera test video from a DriveHack trajectory with matched lighting.
Prompt 4
Bake a custom Mixamo character for use in DriveHack using Blender.

Frequently asked questions

What is drivehack?

A research add-on for DriveStudio that inserts an animated running character into reconstructed 3D driving scenes to test self-driving software.

What language is drivehack written in?

Mainly Python. The stack also includes Python, PyTorch, CUDA.

What license does drivehack use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is drivehack to set up?

Setup difficulty is rated hard, with roughly 1day+ to a first successful run.

Who is drivehack for?

Mainly researcher.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.