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
Ran across this type mismatch error when creating a callback function for ThreadedCamera::open_stream. Looks like it's requiring the ImageBuffer struct from the private image::buffer_ module as a callback parameter type rather than the public struct in image. I poked around in threaded.rs, but it looks like it's just importing the regular struct. Not sure wth is going on here. This is pretty much a direct copy of the Threaded example
The text was updated successfully, but these errors were encountered:
The laws of code prove themselves true once again. 10 minutes after I create an issue (which I held off on, fully tped out, for over an hour), I solve my own issue.
nokhwa currently uses image 0.23.14 according to my Cargo lockfile. I was using 0.24.2.
Ran across this type mismatch error when creating a callback function for ThreadedCamera::open_stream. Looks like it's requiring the ImageBuffer struct from the private image::buffer_ module as a callback parameter type rather than the public struct in image. I poked around in threaded.rs, but it looks like it's just importing the regular struct. Not sure wth is going on here. This is pretty much a direct copy of the Threaded example
The text was updated successfully, but these errors were encountered: