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

Mirrored difference mode for lane centering diagnostics #87

Open
simontheflutist opened this issue Sep 30, 2024 · 2 comments
Open

Mirrored difference mode for lane centering diagnostics #87

simontheflutist opened this issue Sep 30, 2024 · 2 comments

Comments

@simontheflutist
Copy link

This is a feature request for the following video postprocessing: given a frame X, return X.roll_compensate() - X.roll_compensate().mirror_left_right(), possibly with rescaling/s-curve postprocessing to look more appealing. (roll_compensate brings the frame into calibrated view)

The reason is to provide an instant visual diagnostic for lane centering accuracy on straight roads. If the Comma is perfectly centered in the lane, the left and right lanelines should overlap. Moreover, because the formula incorporates differencing, the parity of non-overlaps shows whether the car is left or right of center.

@nelsonjchen
Copy link
Owner

This would probably require some script or something to get stuff out of the rlogs. Maybe ffmpeg can take an input from some external processing script to do this.

@nelsonjchen
Copy link
Owner

If you can provide a simple proof of concept script to do this, let me know. I wrote this project in a way that dances outside of comma's codebase. Going in is quite a step though.

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

No branches or pull requests

2 participants