-
Notifications
You must be signed in to change notification settings - Fork 799
Openbr docs app #641
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
base: master
Are you sure you want to change the base?
Openbr docs app #641
Conversation
|
This adds Print out docs for a specific algorithm string: Print out docs for all transforms (optional regex name matching): |
… transform init() function requires non-default arguments.
|
TODO - Resolve issues when generating docs for transforms when the |
| file.setFileName(Globals->sdkPath + "/share/openbr/models/EyeLocatorASEF128x128.fel"); | ||
| if (!file.open(QFile::ReadOnly)) qFatal("Failed to open %s for reading.", qPrintable(file.fileName())); | ||
| if (!file.open(QFile::ReadOnly)) | ||
| throw QString("Failed to open %1 for reading.").arg(file.fileName()).toStdString(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got br -docs working again. How about this approach for handling initialization errors? I think you can remove _init()?
| @@ -0,0 +1,9 @@ | |||
| include_directories(${CMAKE_CURRENT_BINARY_DIR}) | |||
| add_executable(br-docs br-docs.cpp ${BR_RESOURCES}) | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we need a separate CLI app here. I think br -docs should do this when -algorithm isn't set.
No description provided.