kylecorry31/ML4K-AI-Extension

Allow classification of images

kylecorry31 opened this issue · 2 comments

Allow classification of images

This is a bit harder than I thought. I converted the image file to a base64 representation and it looks like I need to post it to the URL, but I keep getting errors. It may be worth understanding how the Python code works.

Looks like the Python code takes the image and opens it as a binary file and converts the binary to base64 for web request.