diff --git a/croppa/main.py b/croppa/main.py index 6cf25c4..dda5275 100644 --- a/croppa/main.py +++ b/croppa/main.py @@ -3225,9 +3225,14 @@ class VideoEditor: print(" p: Toggle project view") print(" 1: Set cut start point") print(" 2: Set cut end point") - print(" T: Toggle loop between markers") + print(" t: Toggle loop between markers") print(" ,: Jump to previous marker") print(" .: Jump to next marker") + print(" F: Toggle feature tracking") + print(" Shift+T: Extract features from current frame") + print(" g: Toggle auto feature extraction") + print(" G: Clear all feature data") + print(" H: Switch detector (SIFT/SURF/ORB)") if len(self.video_files) > 1: print(" N: Next video") print(" n: Previous video") @@ -3485,13 +3490,13 @@ class VideoEditor: self.tracking_points = {} self.show_feedback_message("Tracking points cleared") self.save_state() - elif key == ord("f"): + elif key == ord("F"): # Toggle feature tracking on/off self.feature_tracker.tracking_enabled = not self.feature_tracker.tracking_enabled self.show_feedback_message(f"Feature tracking {'ON' if self.feature_tracker.tracking_enabled else 'OFF'}") self.save_state() - elif key == ord("F"): - # Extract features from current frame + elif key == ord("T"): + # Extract features from current frame (Shift+T) if not self.is_image_mode and self.current_display_frame is not None: # Extract features from the original frame (before transformations) # This ensures features are in the original coordinate system @@ -3514,7 +3519,7 @@ class VideoEditor: self.feature_tracker.clear_features() self.show_feedback_message("Feature tracking data cleared") self.save_state() - elif key == ord("h"): + elif key == ord("H"): # Switch detector type (SIFT -> SURF -> ORB -> SIFT) current_type = self.feature_tracker.detector_type if current_type == 'SIFT':