-
Notifications
You must be signed in to change notification settings - Fork 130
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
The function 'getRed' isn't defined. Try importing the library that defines 'getRed', correcting the name to the name of an existing function, or defining a function named #249
Comments
} solved by replacing the code as above |
Going to leave this open since it should be tracked to update in a PR. Thanks for bringing it up! |
I am getting the error "Error running model: type 'PixelUint8' is not a subtype of type 'int' in type cast" when I use this approach |
Try using this function. I also initialized the HEIGHT and WIDTH variables with 168, which my model supports—please adjust yours accordingly. |
Thank you very much for this! |
Happy to help you ! 👍 |
|
}
-------------Above is the function to convert image to byte list Float32
Float32List imageAsList = _imageToByteListFloat32(img);
---------------- This is how i am calling the above function..
In the below version of image the code is working well
---image: 3.1.3
but after updating the image version to
---image: ^4.2.0
the imglib.getRed , imglib.getGreen , imglib.getBlue property is not working
how to solve this issue and get the same functionality as above code is serving thanks in advance ...
The text was updated successfully, but these errors were encountered: