You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both p5.js and @tensorflow-models/face-landmark-detection use VERSION as a global variable. This causes p5 to throw a warning that VERSION is a p5-reserved variable. To not cause confusion among the users, the current library uses patch-package to remove the VERSION global variable from the @tensorflow-models/face-landmark-detection file.
This fix prevents p5 from outputting a warning; however, it also modifies the dependency code. We should consider this fix a temporary hack and eventually contact p5 or TensorFlow about this issue.
The text was updated successfully, but these errors were encountered:
We may have similar problems with bodyPose. I was seeing warnings regarding variables box and image when working on #87. I swear those are not variables in my code 😝. We should dig in and see where the conflicts are coming from.
Both p5.js and
@tensorflow-models/face-landmark-detection
useVERSION
as a global variable. This causes p5 to throw a warning thatVERSION
is a p5-reserved variable. To not cause confusion among the users, the current library usespatch-package
to remove theVERSION
global variable from the@tensorflow-models/face-landmark-detection
file.This fix prevents p5 from outputting a warning; however, it also modifies the dependency code. We should consider this fix a temporary hack and eventually contact p5 or TensorFlow about this issue.
The text was updated successfully, but these errors were encountered: