mit-cml / appinventor-sources

MIT App Inventor Public Open Source
http://appinventor.mit.edu/appinventor-sources/
Apache License 2.0
1.5k stars 2.08k forks source link

Implement PIC for iOS #3243

Closed ewpatton closed 5 days ago

ewpatton commented 2 months ago

General items:

If your code changes how something works on the device (i.e., it affects the companion):

Further, if you've changed the blocks language or another user-facing designer/blocks API (added a SimpleProperty, etc.):

For all other changes:

What does this PR accomplish?

Description

This PR extracts the iOS-specific functionality from Simone's GSOC project with some minor reorganization of the code. I also split some of the logic in BaseAiComponent into a new BaseClassifier component to differentiate between models that perform classification (e.g., PIC, PAC) and models that report more general result structures (e.g., Facemesh).

This PR must be merged manually in order to retain the commit authorship.

halatmit commented 2 months ago

Thand for doing this!

Do we have a folder that holds useful dev resources like this?

On Fri, Sep 20, 2024 at 10:24 AM Evan W. Patton @.***> wrote:

General items:

If your code changes how something works on the device (i.e., it affects the companion):

  • I branched from ucr
  • My pull request has ucr as the base

Further, if you've changed the blocks language or another user-facing designer/blocks API (added a SimpleProperty, etc.):

  • I have updated the corresponding version number in YaVersion.java
  • I have updated the corresponding upgrader in YoungAndroidFormUpgrader.java (components only)
  • I have updated the corresponding entries in versioning.js

For all other changes:

  • I branched from master
  • My pull request has master as the base

What does this PR accomplish?

Description

This PR extracts the iOS-specific functionality from Simone's GSOC project with some minor reorganization of the code. I also split some of the logic in BaseAiComponent into a new BaseClassifier component to differentiate between models that perform classification (e.g., PIC, PAC) and models that report more general result structures (e.g., Facemesh).

This PR must be merged manually in order to retain the commit authorship.

You can view, comment on, or merge this pull request online at:

https://github.com/mit-cml/appinventor-sources/pull/3243 Commit Summary

File Changes

(153 files https://github.com/mit-cml/appinventor-sources/pull/3243/files)

Patch Links:

— Reply to this email directly, view it on GitHub https://github.com/mit-cml/appinventor-sources/pull/3243, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGAXN7UY5YWX4456BYWKY3ZXQVZ3AVCNFSM6AAAAABOSE5HESVHI2DSMVQWIX3LMV43ASLTON2WKOZSGUZTQOJWGAYDGOA . You are receiving this because you are subscribed to this thread.Message ID: @.***>