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

Error in main.py #8

Open
AthulRajuGit opened this issue May 10, 2022 · 0 comments
Open

Error in main.py #8

AthulRajuGit opened this issue May 10, 2022 · 0 comments

Comments

@AthulRajuGit
Copy link

AthulRajuGit commented May 10, 2022

File "main.py", line 532, in
main()
File "main.py", line 526, in main
transform_image_files(lambda img: video_processor(lane_model=lane_model,car_model=car_model,calibration=calibration).process_image(img),
File "main.py", line 57, in transform_image_files
dst_img = transformation(img)
File "main.py", line 526, in
transform_image_files(lambda img: video_processor(lane_model=lane_model,car_model=car_model,calibration=calibration).process_image(img),
File "main.py", line 451, in process_image
markings = image_to_prediction(undistorted, self.lane_model, lane_settings)
File "main.py", line 234, in image_to_prediction
result = uncrop_scale(result,opt)
File "main.py", line 140, in uncrop_scale
img = uncrop(img,opt)
File "main.py", line 115, in uncrop
frame[opt['crop_min_y']:opt['crop_max_y'], opt['crop_min_x']:opt['crop_max_x'], 0:3] = img
ValueError: could not broadcast input array from shape (2,2,3) into shape (246,880,3)

Can anyone help with this issue? @ericlavigne @Brok-Bucholtz @ryan-keenan

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

1 participant