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

no output after changing output type of addweighted method #40

Open
anees1998 opened this issue Apr 8, 2022 · 4 comments
Open

no output after changing output type of addweighted method #40

anees1998 opened this issue Apr 8, 2022 · 4 comments

Comments

@anees1998
Copy link

1# I got an error of different input types on add weighted method so I've to specify an output type

before change:
result = cv2.addWeighted(image, 1, lane_image, 1, 0)
after change:
result = cv2.addWeighted(image, 1, lane_image, 1, 0, dtype= cv2.CV_32F).astype(np.uint8)

now there are no lanes on mn output video
2# and also I've used "from skimage.transform import resize as imresize" for image resize
but I didn't change any other lines related to imresize is it ok?
i.e lane_image = imresize(lane_drawn, (720, 1280, 3))
its same before and after

@Humairah1108
Copy link

I am getting same error

@gm24med
Copy link

gm24med commented Jun 11, 2022

me too

@Leonardodsch
Copy link

@anees1998 did you manage to solve the problem?

@cashmeouside1
Copy link

Have any of you solved the problem? I am getting the same error.

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

5 participants