Ask Your Question
2

blobFromImage scale parameter

asked 2019-06-20 09:16:59 -0500

Daraen gravatar image

Hello.

I would like to know what exatly does the "scale" parameter. I searched with Google before posting this, but I didn't find a great explanation.

Someone can explain me?

Thank you.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2019-06-20 09:25:22 -0500

berak gravatar image

it is a scale factor for pixel values.

e.g. some networks want their input in [0..1] range, so a factor of 1.0/255 is applied to bgr images in [0..255].

edit flag offensive delete link more

Comments

Oh yes, that's clear! Thank you!

Daraen gravatar imageDaraen ( 2019-06-20 09:42:19 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2019-06-20 09:16:59 -0500

Seen: 31 times

Last updated: Jun 20