You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
open-iris v1.1.1
Changelog
Major
Added
SimpleHammingDistanceMatcher, a hamming distance-based iris template matcher without the bells and whistles. It functions ~2x faster than HammingDistanceMatcher, is more readable and just does fractional hamming distance with the option to normalise the result by the fraction of visible bits.
Changed
Refactor parameters for HammingDistanceMatcher and the underlying utils function hamming_distance. Parameters used to be nm_dist: Optional[float], i.e. either None or a float, the mean HD to normalise towards. Parameters are now normalise: bool: wether to normalise the hamming distance by the fraction of visible bits, nm_dist: float: the mean HD to normalise towards, and nm_type: Literal["sqrt", "linear"], i.e. a string that is either "sqrt" or "literal" which represent the type of normalisation ("sort" is equivalent to the previous behaviour)
Minor
Added
Interface Matcher and BatchMatcher, from which HammingDistanceMatcher and SimpleHammingDistanceMatcher inherit from.
Removed
Remove upper bound on HammingDistanceMatcher's rotation_shift parameter. This parameter represents the rotation in the angular direction of the iris template, and is expressed in bits (not degrees as was previously expressed).
Changed
Modified the HD normalisation function slightly. Only the cases where HD is normalised and less than 1/4 of the iris texture is masked are affected
Fixed
The output_builder build_simple_debugging_output was always returning None values for the intermediary results geometry_mask and noise_mask. Also mentioned in issue #38. This behaviour is now fixed, thanks to @tokkikki