kylecorry31 / ML4K-AI-Extension

Use machine learning in AppInventor, with easy training using text, images, or numbers through the Machine Learning for Kids website.
MIT License
20 stars 15 forks source link

RE: ML4K/ App Inventor- unable to invoke method `ClassifyImage` in object of type boolean. Irritants: () #40

Open FionaLLLL opened 2 years ago

FionaLLLL commented 2 years ago

My daughter's small project based on ML4K and App Inventor, after introducing ML4K extension and .AIX into App Inventor, always sends back "unable to invoke method ClassifyImage in object of type boolean. Irritants: ()" to both computer and cell phone when running. Does it mean any disconnection or incompatibility somewhere between ML4K and App Inventor? Thanks.

dalelane commented 2 years ago

My best guess would be that this is caused by a small bug in the project.

The ClassifyImage block expects to be given the location of an image to classify, but the error message you are seeing suggests it was given either true or false.

If you could share a screenshot of the project code blocks, I could confirm this and offer more advice.