You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I request a tweak to the enums for camera resolutions -- to have an entry that represents something invalid or not-a-resolution and/or a count of the enumerators.
I would use this in my code to distinguish a native camera resolution and a non-native camera resolution during resolution lookups/mapping. If named such, I could also use it to count the number of enumerators in the resolution enum.
I request a tweak to the enums for camera resolutions -- to have an entry that represents something invalid or not-a-resolution and/or a count of the enumerators.
I would use this in my code to distinguish a native camera resolution and a non-native camera resolution during resolution lookups/mapping. If named such, I could also use it to count the number of enumerators in the resolution enum.
Example
Currently I hack in an "invalid" value by
static_cast<dai::MonoCameraProperties::SensorResolution>(-1)
The text was updated successfully, but these errors were encountered: