compensate for tilt

pull/19770/head
ZwX1616 5 years ago committed by GitHub
parent 90216ce620
commit 78cd373c4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      selfdrive/modeld/models/dmonitoring.cc

@ -64,7 +64,7 @@ DMonitoringResult dmonitoring_eval_frame(DMonitoringModelState* s, void* stream_
const int global_x_offset = full_width_tici / 2 - adapt_width_tici / 2;
const int global_y_offset = full_height_tici / 2 - cropped_height / 2;
const int crop_x_offset = adapt_width_tici - cropped_width + 32;
const int crop_y_offset = 0;
const int crop_y_offset = -196;
#endif
int resized_width = MODEL_WIDTH;

Loading…
Cancel
Save