[PD] Access to camera data on smart device with pddroid att. Chris McCormick

Antoine Villeret antoine.villeret at gmail.com
Tue Nov 25 23:12:22 CET 2014


I worked on a non-free app for Android that uses video camera and some
OpenCV processing to make sound with libpd
It was based on ScenePlayer by Peter Brinkmann.
Basically, the global layout was modified to implement a
Camera.PreviewCallback then with the onPreviewFrame(byte[], Camera) method
I get the video data and pass it to a JNI that does the processing thanks
to OpenCV4Android
Then the JNI talks with Pd tanks to some global variables and callback
Note that I can't find any way to access the android camera without
displaying a preview image.

I made an external that works on Linux, Mac OS, Windows and Android.
Thus people can work with their workstation on patch and then download it
to the phone.

Unfortunately I'm not able to share the source code of this app since it's
not free.
But you can get it on Google Play :
to see what it really does



do it yourself

2014-11-25 21:09 GMT+01:00 Daniel Iglesia <daniel.iglesia at gmail.com>:

> PdDroidParty and MobMuPlat are built on libpd, which only supports
> pd-vanilla functionality. There is no video functionality.
> On Tue, Nov 25, 2014 at 12:01 PM, Jonathan Aardestrup <
> jonastikov at gmail.com> wrote:
>> Hi
>> For my university project about computer vision and Pure Data I'm trying
>> to figure out if there is a way to access the camera data on a smart device
>> with pddroid.
>> I can't seem to find any documentation, but since camera is well
>> integrated in pd-extended with pdp and pix I assume someone else have tried
>> to make it work.
>> I could also go for testing it with Mobmuplat, but also I wasn't able to
>> find any documentation about that.
>> Does anyone know about existing solutions to that or can somebody give me
>> some hints about how to make it please?
>> Thanks,
>> Jonathan Aardestrup
>> _______________________________________________
>> Pd-list at lists.iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20141125/ec3b80a1/attachment.html>

More information about the Pd-list mailing list