@@ -35,27 +35,30 @@ def __init__(self):
35
35
36
36
# HASH parameters
37
37
self .A_HASH : Algo_conf = Algo_conf ("A_HASH" , False , 0.02 , 0.08 , distance_weight = 1 )
38
- self .P_HASH : Algo_conf = Algo_conf ("P_HASH" , True , 0.08 , 0.08 , distance_weight = 1 ) # True
38
+ self .P_HASH : Algo_conf = Algo_conf ("P_HASH" , False , 0.08 , 0.08 , distance_weight = 1 ) # True
39
39
self .P_HASH_SIMPLE : Algo_conf = Algo_conf ("P_HASH_SIMPLE" , False , 0.04 , 0.06 , distance_weight = 1 )
40
- self .D_HASH : Algo_conf = Algo_conf ("D_HASH" , True , 0.04 , 0.08 , distance_weight = 1 ) # True
40
+ self .D_HASH : Algo_conf = Algo_conf ("D_HASH" , False , 0.04 , 0.08 , distance_weight = 1 ) # True
41
41
self .D_HASH_VERTICAL : Algo_conf = Algo_conf ("D_HASH_VERTICAL" , False , 0.04 , 0.04 , distance_weight = 1 )
42
42
self .W_HASH : Algo_conf = Algo_conf ("W_HASH" , False , 0.06 , 0.08 , distance_weight = 1 )
43
- self .TLSH : Algo_conf = Algo_conf ("TLSH" , True , 0.16 , 0.18 , distance_weight = 1 ) # True
43
+ self .TLSH : Algo_conf = Algo_conf ("TLSH" , False , 0.16 , 0.18 , distance_weight = 1 ) # True
44
44
45
45
# Visual Descriptors parameters
46
- self .ORB : Algo_conf = Algo_conf ("ORB" , False , 0.0 , 0.2 , distance_weight = 5 ) # True
46
+ self .ORB : Algo_conf = Algo_conf ("ORB" , False , 0.0 , 0.2 , distance_weight = 5 ) # False
47
47
self .ORB_KEYPOINTS_NB : int = 500
48
48
49
- self .BOW_ORB : Algo_conf = Algo_conf ("BOW_ORB" , True , 0.08 , 0.32 , distance_weight = 5 ) # True
49
+ self .BOW_ORB : Algo_conf = Algo_conf ("BOW_ORB" , False , 0.08 , 0.32 , distance_weight = 5 ) # True
50
50
self .BOW_VOCAB_PATH : pathlib .Path = get_homedir () / "vocab.npy"
51
51
52
+ self .RANSAC_ORB : Algo_conf = Algo_conf ("RANSAC_ORB" , True , 0.08 , 0.32 , distance_weight = 10 ) # False
53
+
52
54
# Algo list # /! IMPORTANT !\ BE-AWARE THAT /! IMPORTANT !\
53
55
# IF YOU MODIFY PROGRAMMATICALLY ONE ELEMENT LATER, YOU NEED TO CHANGE IT IN THIS LIST TOO !
54
56
self .list_algos : List [Algo_conf ] = [self .A_HASH , self .P_HASH , self .P_HASH_SIMPLE ,
55
57
self .D_HASH , self .D_HASH_VERTICAL , self .W_HASH ,
56
58
self .TLSH ,
57
59
self .ORB ,
58
- self .BOW_ORB ]
60
+ self .BOW_ORB ,
61
+ self .RANSAC_ORB ]
59
62
60
63
# Merging method
61
64
self .DISTANCE_MERGING_METHOD : Distance_MergingMethod = Distance_MergingMethod .WEIGHTED_MEAN .name
0 commit comments