hello, 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 functions. 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 : https://play.google.com/store/apps/details?id=net.nujus.android.roadmusic&hl=fr_FR to see what it really does cheers antoine -- do it yourself http://antoine.villeret.free.fr 2014-11-25 21:09 GMT+01:00 Daniel Iglesia <[email protected]>: > 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 < > [email protected]> 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 >> >> _______________________________________________ >> [email protected] mailing list >> UNSUBSCRIBE and account-management -> >> http://lists.puredata.info/listinfo/pd-list >> >> > > _______________________________________________ > [email protected] mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > >
_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
