Ask Your Question
2

blobFromImage scale parameter

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

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 -0600

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 -0600 )edit

Question Tools

1 follower

Stats

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

Seen: 445 times

Last updated: Jun 20 '19