-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
native iOS port of mobile client #116
Comments
Have you considered using Appcelerator Titanium? Check out: http://appcelerator.com I have experience in coding Apps on both Titanium and PhoneGap and IMHO Titanium is the better of the two! |
I haven't -- would be interested to see the video frame access API. Is AT open source or compatible with? That's what's nice about PhoneGap/Cordova |
The SDK and the IDE are open source - https://github.com/appcelerator I'm not sure what your requirements are for video frame access are but writing a native iOS module to get at the video frames from the camera is one possibility: http://docs.appcelerator.com/titanium/2.1/#!/guide/iOS_Module_Development_Guide |
Darn, iOS 6 will support camera capture (so we might be able to do a single-shot version) but not getUserMedia video access: http://blog.merge.nl/shorts/web-app-html5-camera-capture-getusermedia-file-api-browser-support |
I have not had time to poke around in the code. Does the analysis require a realtime video stream or can it be feed a series of captures? |
Okay, I spent a few minutes looking at the code. This lead me to the underlying video capture library - WebRTC. I think I see a path from there to PhoneGap and/or Appcelerator. |
Cool! Sorry I've been scrambling and haven't been able to check in.
|
We could rejigger the interface for stills but live video is much much
|
We are asking this question basically, and probably need to develop a PhoneGap plugin: http://stackoverflow.com/questions/10909748/getusermedia-shim-for-phonegap-cordova?rq=1 I'm looking into the barcode plugin since I imagine it does something similar -- intercepts video capture without showing a video interface widget, and runs some analysis on the video stream by pixel... |
Super -- more investigation shows that the Barcode plugin (which the more I think about it, the closer it seems architecturally to what we want to do -- record intensity variation in a horizontal row of pixels) uses the AVFoundation API in iOS: which allows for "silent" video capture and processing. We gotta look at that barcode plugin closer. |
I've just installed the latest phonegap on my Mac & I'll download the barcode plugin. I don't have any access to an Android device at the moment - but I was wondering if it would make sense to use OpenCV in the plugin if it provides a uniform video API for iOS and Android: Is there any value in the additional image processing libraries that this would offer or is it just additional weight? |
I dunno much about OpenCV, but we were planning on writing a lot of the On Sat, Oct 6, 2012 at 2:08 PM, Sean Doyle notifications@github.com wrote:
|
I'll have to look at this again tomorrow - I'm having trouble getting the app running. The Cordova distro needed some massaging under Xcode 4.5 (remove the armv6 and armv7s architectures) and a bunch of other small things - and now it's launching but on both the simulator and iPhone 4 it's only partly starting. The last console message is Multi-tasking -> Device: YES, App: YES which is from the CDVViewController - but the javascript initializations don't finish. My assumption is that I should uninstall cordova-lib and start again. I've only taken a brief peek at the code underneath - but my instinct is that you're right that this would be a good template and that OpenCV might be overkill and add some complexity. This should be simpler than it's been which probably means I'm doing something wrong :-). |
Moving this issue mostly to #174 |
After much discussion we'll be focusing on our HTML5 web app; thanks! |
Brute force sample row auto detection
i was thinking I'd try wrapping the spectral workbench platform in PhoneGap and patch camera access in to replace the mediastream API used on Opera/Android. That may end up being harder than I expect...
Which is to say, the current mobile version is web-based, and only runs on Opera for Android right now. But it is pretty nice: http://spectralworkbench.org/capture
My ideal is to wrap this already-working system in a native app so that any future interface changes can simply be pushed out on all platforms at once.
The text was updated successfully, but these errors were encountered: