Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix command line parsing for executables that used the old one #1422

Merged
merged 7 commits into from
May 11, 2023

Conversation

cbentejac
Copy link
Contributor

Description

This PR fixes the command line parsing of some software and sample executables that were not included in #1302 and #1303 and, as a consequence, cannot be correctly run anymore.

This includes:

  • For software executables:
    • CameraCalibration
    • VoctreeQueryUtility
  • For samples:
    • FeaturesRepeatability
    • ImageDescriberMatches
    • RobustFundamental
    • KvldFilter
    • RobustFundamentalF10
    • HomographyGrowing
    • SensorWidthDatabase
    • Texturing
    • UndistoBrown

Additionally, all the files whose command line parsing needed to be fixed had, when applicable, their 2-space indentation converted to a 4-space one.

Features list

  • Update the command line parsing for all the executables that did not use the latest one;
  • Replace all 2-space indentations by 4-space indentations for these files.

`main_cameraCalibration` has been clang-formatted to use indentation with
4 spaces instead of 2.
…sing

The parsing of the command line is now handled in another module and the
`aliceVision::CmdLine` object can be used for the command line. This
automatically adds the support for the memory- and core-related options.

Additionally, this commit updates some of the parameters' descriptions and
logs, as well as error handling.
This commit updates the following samples with the factorized command
line parsing from the cmdline module:
- FeaturesRepeatability
- ImageDescriberMatches
- RobustFundamental
- KvldFilter
- RobustFundamentalF10
- HomographyGrowing
- SensorWidthDatabase
- Texturing
- UndistoBrown
Remove samples that are outdated and based on AliceVision classes that do
not exist anymore, and thus cannot be compiled anymore.
@cbentejac cbentejac self-assigned this Apr 21, 2023
@cbentejac cbentejac linked an issue Apr 21, 2023 that may be closed by this pull request
@cbentejac cbentejac added this to the 3.1.0 milestone Apr 28, 2023
@mugulmd mugulmd merged commit f1f58d5 into develop May 11, 2023
@mugulmd mugulmd deleted the fix/cameraCalibrationCmdLine branch May 11, 2023 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bug] camera calibration error
2 participants