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

Color/MonoCamera: add API to configure image orientation #37

Merged
merged 1 commit into from
Jan 11, 2021

Conversation

alex-luxonis
Copy link
Contributor


// Get camera image orientation
CameraImageOrientation ColorCamera::getImageOrientation() const {
// TODO: in case of AUTO, see if possible to return actual value determined by device?
Copy link
Collaborator

Choose a reason for hiding this comment

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

Right now unfortunately no - all of the node building happens before device is known.
That said, we could add device type (OAK-1, OAK-D, ....) as a part of pipeline constructor, which would in turn help us resolve some of these values. This still doesn't solve all of it, but might be a good addition down the road.

@alex-luxonis alex-luxonis merged commit e1f3b68 into gen2_develop Jan 11, 2021
@alex-luxonis alex-luxonis deleted the gen2_camera_orientation branch January 11, 2021 23:47
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.

None yet

3 participants