Skip to content

Conversation

@beaufortfrancois
Copy link

@beaufortfrancois beaufortfrancois commented Jan 27, 2022

This PR is just a way for me to start playing with this cool demo. It adds a "Camera Summary" section at the bottom right of the web app to display information such as Manufacturer, Model, Version, Serial Number, Capture Formats,
Display Formats, Device Capabilities, Storage Devices Summary, etc.

@beaufortfrancois
Copy link
Author

@RReverser Please have a look.


val summary() {
return gpp_rethrow([=]() {
val result = val::object();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: I'd probably avoid the object and just return the string, converted to val, directly.

@RReverser
Copy link
Collaborator

Left one nit above. Overall I think this serves as a good example of integrating other APIs, but I'm not sure we should show it in the UI because the "summary" text is pretty verbose on real cameras. Additionally, the most interesting information from the summary - camera model, serial number, etc. - is already exposed via individual fields.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants