-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Migrating from 0.10 to 0.11, how to convert a ShortBuffer ? #141
Comments
I have too this issue! |
try {
Error:(55, 44) error: incompatible types: Frame cannot be converted to IplImage |
With the addition of We can also create a |
@vah13 Create a |
I am trying to convert my project from version 0.10 to 0.11.
I had this line in my project:
recorder.record(images[i % images.length]);
and with the aid of aOpenCVFrameConverter.ToIplImage converter = new OpenCVFrameConverter.ToIplImage();
I could callrecorder.record(converter.convert(images[i % images.length]));
.However, I also have a line where there is a
ShortBuffer
is used:recorder.record(imageSamples[i % imageSamples.length]);
Is there a way to convert a
ShortBuffer
to aFrame
orIplImage
? Apparently theIplImage.createFrom(...);
function no longer exists.The text was updated successfully, but these errors were encountered: