DXM123 / camera_calibration

Camera Calibration UI
1 stars 1 forks source link

Allign args with GUI options #19

Open DXM123 opened 4 months ago

DXM123 commented 4 months ago

Description

Currently, our project includes a Python wrapper script that launches a tool with a PyQT graphical user interface (GUI). The GUI provides several configurable options that users can adjust according to their preferences. However, we've identified that the command-line arguments available in the Python wrapper script do not fully align with the options available in the GUI. This inconsistency can lead to confusion and limit the tool's usability when operated from the command line.

Objective

The goal is to ensure a consistent user experience by aligning the command-line arguments in the Python wrapper script with the configurable options in the PyQT GUI. This alignment will enable users to access all GUI features through the command line and vice versa.

Expected Outcome

Steps to Achieve

  1. Review Existing Interface: Examine the current GUI options and command-line arguments to identify discrepancies.
  2. Define Mapping Strategy: Establish a clear mapping between GUI options and command-line arguments. This may involve renaming existing arguments or adding new ones to ensure consistency.
  3. Implement Changes: Update the Python wrapper script and the PyQT GUI code to reflect this mapping. This includes modifying the argument parsing logic in the wrapper script and ensuring GUI elements correctly interpret command-line inputs.
  4. Update Documentation: Revise the tool's documentation to accurately describe the new command-line options and their GUI equivalents. Include examples of both GUI and CLI usage for clarity.
  5. Testing: Conduct thorough testing to ensure that the GUI and CLI function identically and that all features are accessible from both interfaces.

Questions & Discussion Points

Feel free to comment below with your insights, suggestions, or any questions. This is a collaborative effort, and all contributions are welcome.


By aligning the Python wrapper's command-line arguments with the PyQT GUI options, we aim to enhance the tool's usability and flexibility, accommodating various user preferences and workflows. Your participation and feedback in this process are highly valuable.