Function image_match::get_buffer_signature
source · pub fn get_buffer_signature(rgba_buffer: &[u8], width: usize) -> Vec<i8>Expand description
Produces a 544 signed byte signature for a provided image that’s encoded as an array of conceptually grouped RGBA bytes with the provided width. The result is designed to be compared to other vectors computed by a call to this method using [cosine-similarity(a, b)].