Is it possible to fire the flash (LED) on my iPhone 5(s) without taking a 
photo? (i.e. is there a programmatic interface to turn the LED on/off via an 
ObjC message send? Can I talk to it directly using C? Also, does iOS have 
OpenCV, or something like it, so the camera can detect flashing lights (either 
from the "flash" LED on another smartphone, or even a flashlight)?
  I'd like to make a simple morse code sender/receiver using a pair of iPhones 
that have the "flash" LED, and the camera. The initial version would just have 
a UIView with a UIButton the user could tap to turn the LED on, and a UIImage 
(?) showing the current "view" the camera sees, and - under that - a UILabel 
showing the translated morse code as the user taps the button. Later, I'd like 
to have two UILabels, one for sending and one for receiving, so that it would 
also translate the incoming messages as well, by detecting the flashing with 
the camera itself. This is why I'm guessing I'll need OpenCV library.
  If not, no biggie.


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to