mit-cml / appinventor-extensions

Source code of extensions published for MIT App Inventor
Apache License 2.0
86 stars 95 forks source link

configurability on posenet frame size or at least make them immutable properties #33

Open wr200m opened 4 years ago

wr200m commented 4 years ago

Describe the desired feature Currently I feel the posenet video frame has hardcoded size of 300x250. Can these become properties for the posenet extension? At least expose the height and width on the extension if they are immutable.

https://github.com/mit-cml/appinventor-extensions/blob/extension/posenet/appinventor/components/src/edu/mit/appinventor/ai/posenet/assets/app.js

const videoWidth = 300; const videoHeight = 250;

Give an example of how this feature would be used This can give flexibility to the sizing of user defined video display/canvas area. Making them at least immutable properties can help user scale the canvas accordingly when these posenet key points X,Y are only relative to the 300x250 orignal video size.

Why doesn't the current App Inventor system address this use case?

Why is this feature beneficial to App Inventor's educational mission?