-
Notifications
You must be signed in to change notification settings - Fork 17
2D API wrapper #28
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
2D API wrapper #28
Conversation
eskaur
left a comment
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.
Looks very good to me. Great test-coverage too.
I just have a few minor comments/questions.
9755225 to
d6c0e51
Compare
|
Ready for next round |
eskaur
left a comment
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.
Looks good to me now.
|
Ready for next round @nedrebo |
nedrebo
left a comment
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.
This looks good, only minor comments.
2f28ac1 to
62a10a1
Compare
src/ReleasableImage.cpp
Outdated
|
|
||
| return py::buffer_info{ | ||
| const_cast<Zivid::RGBA8 *>( | ||
| data), // TODO: Const casting this until https://github.com/pybind/pybind11/issues/1993 has been solved |
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.
This is now merged. The fix is now to simply remove the const cast once pybind11 is updated.
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.
Updated the comment
5405790 to
9339676
Compare
|
Any more comments @apartridge, @nedrebo or @eskaur ? |
eskaur
left a comment
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.
Looks good!
Enables 2D API in this wrapper, so that you can easily capture 2D images using a camera. 2D sample capture and tests has been included.
9339676 to
14312c5
Compare
Enables 2D API in this wrapper, so that you can easily capture 2D images
using a camera. 2D sample capture and tests has been included.