lichen-community-systems / movementosc

Movement OSC detects body keypoints using Tensorflow.js' MoveNet models and sends data over OSC.
MIT License
2 stars 1 forks source link

Electron-packager only copies peer dependencies when building applications; all of Tensorflow need to be included. #1

Closed colinbdclark closed 2 months ago

colinbdclark commented 2 months ago

TensorFlow's pose-detection npm package installs other required TensorFlow packages transitively (tfjs-core, tfjs-converter, and tfjs-backend-webgpu), but these won't be copied in to the built application's resources unless they are peer dependencies in package.json. Without doing so, the built MovementOSC applications can't load TensorFlow.