matrix-io / matrix-os

MATRIX OS Codebase
https://creator.matrix.one
GNU General Public License v3.0
75 stars 17 forks source link

Enable gesture and face #30

Closed eighteyes closed 7 years ago

eighteyes commented 7 years ago

See documentation for usage

https://matrix-io.github.io/matrix-documentation/API/computer-vision/ https://matrix-io.github.io/matrix-documentation/Configuration/services/

Test apps https://github.com/matrix-io/matrix-srcjs-apps.git

brianofrokk3r commented 7 years ago

@eighteyes when running face example in matrix-src-apps I get a crash.

 device.service start> +5ms { type: 'service-init', name: 'face', options: {} }
Uncaught exception:  TypeError: Cannot read property 'name' of undefined
    at Object.registerComponent (/home/pi/matrix-os/lib/service/zeromq.js:32:45)
    at EventEmitter.start (/home/pi/matrix-os/lib/device/service.js:91:37)
    at emitOne (events.js:96:13)
    at EventEmitter.emit (events.js:188:7)
    at ChildProcess.messageHandler (/home/pi/matrix-os/lib/event/app.js:108:23)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at process.nextTick (internal/child_process.js:744:12)
    at _combinedTickCallback (internal/process/next_tick.js:67:7)
    at process._tickCallback (internal/process/next_tick.js:98:9) TypeError: Cannot read property 'name' of undefined
    at Object.registerComponent (/home/pi/matrix-os/lib/service/zeromq.js:32:45)
    at EventEmitter.start (/home/pi/matrix-os/lib/device/service.js:91:37)
    at emitOne (events.js:96:13)
    at EventEmitter.emit (events.js:188:7)
    at ChildProcess.messageHandler (/home/pi/matrix-os/lib/event/app.js:108:23)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at process.nextTick (internal/child_process.js:744:12)
    at _combinedTickCallback (internal/process/next_tick.js:67:7)
    at process._tickCallback (internal/process/next_tick.js:98:9)
UNKNOWN ERROR! TypeError: Cannot read property 'name' of undefined
    at Object.registerComponent (/home/pi/matrix-os/lib/service/zeromq.js:32:45)
    at EventEmitter.start (/home/pi/matrix-os/lib/device/service.js:91:37)
    at emitOne (events.js:96:13)
    at EventEmitter.emit (events.js:188:7)
    at ChildProcess.messageHandler (/home/pi/matrix-os/lib/event/app.js:108:23)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at process.nextTick (internal/child_process.js:744:12)
    at _combinedTickCallback (internal/process/next_tick.js:67:7)
    at process._tickCallback (internal/process/next_tick.js:98:9)
  matrix DESTROYING +13ms
eighteyes commented 7 years ago

thanks for that @brianofrokk3r opened issue #31

eighteyes commented 7 years ago

woot no conflicts!

eighteyes commented 7 years ago

@brianofrokk3r @diegoribero I'd like to merge this beast, please test?

diegoribero commented 7 years ago

Tested deploy, install, uninstall, start, stop and both apps worked for me

diegoribero commented 7 years ago

@eighteyes think we shouldn't include apps/clock2 and apps/gestureTest, otherwise looks good

brianofrokk3r commented 7 years ago

Remove the apps from the repo.

eighteyes commented 7 years ago

good catch @diegoribero that will be addressed