jean343 / Node-OpenMAX

Node wrapper for the OpenMAX library
https://www.npmjs.com/package/openmax
MIT License
16 stars 5 forks source link

Camera example #3

Closed jannispl closed 8 years ago

jannispl commented 8 years ago

I am currently struggling to get the camera component working. Could you provide a small example how to set it up?

jean343 commented 8 years ago

Hello,

Thanks for the interest. I did get a hand on a pi. Are you using the special camera such as https://www.adafruit.com/product/1367?

jannispl commented 8 years ago

@jean343 Yes, I'm using the camera module, v2 however.

jean343 commented 8 years ago

I have added three examples under https://github.com/jean343/Node-OpenMAX/tree/master/examples/ts

The tunnel examples requires less CPU as the buffers don't go through JavaScript.

The Pipe examples allows you to do image processing on the frames in JavaScript.

jean343 commented 8 years ago

I have added lots of camera setting examples in the test cases: https://github.com/jean343/Node-OpenMAX/blob/master/spec/components/CameraEffectsSpec.ts