Currently the y_total attribute is calculated correctly inside match_signatures (by calculating from the input vectors) but then incorrectly reassembled in vec_restore.matchr_matrix (which doesn't have access to the input vectors). Is there some way to track this properly, accounting for the possibility of duplicate images in the input vectors? (I.e. something like unique(unlist(field(x, "y_file"))) wouldn't work.
Or is the answer to have the x_total and y_total simply report unique paths in the first place?
Currently the y_total attribute is calculated correctly inside
match_signatures
(by calculating from the input vectors) but then incorrectly reassembled invec_restore.matchr_matrix
(which doesn't have access to the input vectors). Is there some way to track this properly, accounting for the possibility of duplicate images in the input vectors? (I.e. something likeunique(unlist(field(x, "y_file")))
wouldn't work.Or is the answer to have the x_total and y_total simply report unique paths in the first place?