A bunch of changes
This commit is contained in:
25
constants.py
25
constants.py
@@ -167,7 +167,7 @@ if importlib.util.find_spec("mediapipe") is not None:
|
||||
pass
|
||||
HAVE_FACE_RECOGNITION = importlib.util.find_spec("face_recognition") is not None
|
||||
|
||||
HAVE_BAGHEERASEARCH_LIB = False
|
||||
HAVE_BAGHEERASEARCH_LIB = True
|
||||
|
||||
MEDIAPIPE_FACE_MODEL_PATH = os.path.join(CONFIG_DIR,
|
||||
"blaze_face_short_range.tflite")
|
||||
@@ -291,6 +291,10 @@ VIEWER_ACTIONS = {
|
||||
"toggle_visibility": ("Show/Hide Main Window", "Window"),
|
||||
"toggle_crop": ("Toggle Crop Mode", "Edit"),
|
||||
"save_crop": ("Save Cropped Image", "File"),
|
||||
"compare_1": ("Single View", "View"),
|
||||
"compare_2": ("Compare 2 Images", "View"),
|
||||
"compare_4": ("Compare 4 Images", "View"),
|
||||
"link_panes": ("Link Panes", "View"),
|
||||
}
|
||||
|
||||
DEFAULT_VIEWER_SHORTCUTS = {
|
||||
@@ -319,6 +323,10 @@ DEFAULT_VIEWER_SHORTCUTS = {
|
||||
"toggle_visibility": (Qt.Key_H, Qt.ControlModifier),
|
||||
"toggle_crop": (Qt.Key_C, Qt.NoModifier),
|
||||
"save_crop": (Qt.Key_S, Qt.ControlModifier),
|
||||
"compare_1": (Qt.Key_1, Qt.AltModifier),
|
||||
"compare_2": (Qt.Key_2, Qt.AltModifier),
|
||||
"compare_4": (Qt.Key_4, Qt.AltModifier),
|
||||
"link_panes": (Qt.Key_L, Qt.AltModifier),
|
||||
}
|
||||
|
||||
|
||||
@@ -735,6 +743,11 @@ _UI_TEXTS = {
|
||||
"VIEWER_MENU_CROP": "Crop Mode",
|
||||
"VIEWER_MENU_SAVE_CROP": "Save Selection...",
|
||||
"SAVE_CROP_TITLE": "Save Cropped Image",
|
||||
"VIEWER_MENU_COMPARE": "Comparison Mode",
|
||||
"VIEWER_MENU_COMPARE_1": "Single View",
|
||||
"VIEWER_MENU_COMPARE_2": "2 Images",
|
||||
"VIEWER_MENU_COMPARE_4": "4 Images",
|
||||
"VIEWER_MENU_LINK_PANES": "Link Panes",
|
||||
"SAVE_CROP_FILTER": "Images (*.jpg *.jpeg *.png *.bmp *.webp)",
|
||||
"SLIDESHOW_INTERVAL_TITLE": "Slideshow Interval",
|
||||
"SLIDESHOW_INTERVAL_TEXT": "Seconds:",
|
||||
@@ -1164,6 +1177,11 @@ _UI_TEXTS = {
|
||||
"VIEWER_MENU_TAGS": "Etiquetas rápidas",
|
||||
"VIEWER_MENU_CROP": "Modo Recorte",
|
||||
"VIEWER_MENU_SAVE_CROP": "Guardar Selección...",
|
||||
"VIEWER_MENU_COMPARE": "Modo Comparación",
|
||||
"VIEWER_MENU_COMPARE_1": "Vista Única",
|
||||
"VIEWER_MENU_COMPARE_2": "2 Imágenes",
|
||||
"VIEWER_MENU_COMPARE_4": "4 Imágenes",
|
||||
"VIEWER_MENU_LINK_PANES": "Vincular Paneles",
|
||||
"SAVE_CROP_TITLE": "Guardar Imagen Recortada",
|
||||
"SAVE_CROP_FILTER": "Imágenes (*.jpg *.jpeg *.png *.bmp *.webp)",
|
||||
"SLIDESHOW_INTERVAL_TITLE": "Intervalo de Presentación",
|
||||
@@ -1597,6 +1615,11 @@ _UI_TEXTS = {
|
||||
"VIEWER_MENU_TAGS": "Etiquetas rápidas",
|
||||
"VIEWER_MENU_CROP": "Modo Recorte",
|
||||
"VIEWER_MENU_SAVE_CROP": "Gardar Selección...",
|
||||
"VIEWER_MENU_COMPARE": "Modo Comparación",
|
||||
"VIEWER_MENU_COMPARE_1": "Vista Única",
|
||||
"VIEWER_MENU_COMPARE_2": "2 Imaxes",
|
||||
"VIEWER_MENU_COMPARE_4": "4 Imaxes",
|
||||
"VIEWER_MENU_LINK_PANES": "Vincular Paneis",
|
||||
"SAVE_CROP_TITLE": "Gardar Imaxe Recortada",
|
||||
"SAVE_CROP_FILTER": "Imaxes (*.jpg *.jpeg *.png *.bmp *.webp)",
|
||||
"SLIDESHOW_INTERVAL_TITLE": "Intervalo da Presentación",
|
||||
|
||||
Reference in New Issue
Block a user