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

Calibration Transform: border pad #31495

Merged
merged 1 commit into from Feb 16, 2024
Merged

Calibration Transform: border pad #31495

merged 1 commit into from Feb 16, 2024

Conversation

haraschax
Copy link
Contributor

@haraschax haraschax commented Feb 16, 2024

When the camera points far enough up (true on many sedans), there is not enough FOV to show the image the model expects. So a part is out of bounds. During training this is padded, at runtime it is filled with zeros (in YUV so it looks green). This discrepancy causes some loss in performance, this PR implements the same border padding at runtime that we use at traintime.

Screenshot from 2024-02-16 14-33-56
Screenshot from 2024-02-16 14-30-55

@haraschax haraschax merged commit 900300a into master Feb 16, 2024
34 checks passed
@haraschax haraschax deleted the border_pad_transform branch February 16, 2024 23:18
rchybicki pushed a commit to rchybicki/openpilot that referenced this pull request Feb 17, 2024
AlexandreSato pushed a commit to AlexandreSato/openpilot that referenced this pull request Feb 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants