Using TeachableMachine or PIC extensions with emulator

Just wondering if it would be possible to use the emulator to run either the teachable machine or personal image classifier extensions. I tried TM and the camera/webviewer didn't open. If anyone has tried it successfully, please let me know. I have a bunch of teachers with iphones that would love to try out image classification. :grinning:

See the test server (ai2-test), Evan has just introduced camera and microphone access for the companion...

thanks, I will give it a shot!

You can, but it's a bit involved because we didn't want the camera to be turned on typically for students given PII, etc. You must have started the emulator at least once. Then, in ~/.appinventor/avd/AppInventor.avd/config.ini, locate hw.camera.front and change the value to webcam0. On the next load, the emulator will be able to use the computer's camera.

The PIC extension is baked into the iOS companion app, but I think Selim encountered a bug in the most recent public version. There is a fix on TestFlight and the TM extension will also be coming out in the next iOS release (but I don't think I've put it on TestFlight yet).