imagecluster.calc.fingerprint¶
-
imagecluster.calc.
fingerprint
(image, model)[source]¶ Run image array (3d array) run through model (
keras.models.Model
).Parameters: image : 3d array
(3,x,y) or (x,y,3), depending on
keras.preprocessing.image.img_to_array
andimage_data_format
(channels_{first,last}
) in~/.keras/keras.json
, seeread_images()
model :
keras.models.Model
instanceReturns: fingerprint : 1d array