Would this be possible?!


Last Updated:

  1. Vinnydude

    Vinnydude Well-Known Member This Topic's Starter

    Joined:
    Jun 3, 2011
    Messages:
    103
    Likes Received:
    2
    i've had an idea for an app but i'm not sure whether it will be possible or not. Well, I think it's definatly possible, but it's whether it'll be fast enough!

    Basically, I want to use the camera to detect a flash, and then if there is a flash, the phone's camera will flash too. Basically using the phone as a remote flash.

    What do you think? Would I be able code something fast enough to register a flash on the camera and then set the phone's flash off?
     

    Advertisement
  2. rtumatt

    rtumatt New Member

    Joined:
    Jul 12, 2013
    Messages:
    3
    Likes Received:
    0
    Hi,

    It might be possible, one idea might be to monitor the RGB of the image on screen. If you detected 255-255-255 (white) for example then you could take a picture. Try this link

    Get RGB data from the android camera in stream - Stack Overflow

    I will say now however I can see any implementation like this being very tempremenatl, but good luck :)
     
  3. Vinnydude

    Vinnydude Well-Known Member This Topic's Starter

    Joined:
    Jun 3, 2011
    Messages:
    103
    Likes Received:
    2
    It's the temperamental side of it that I was asking about whether it would eb possible really! :D

    In theory, it's visible on the camera screen everytime my dslr flashes, so it should definitely be possible to code something to register the flash anomaly on the screen. I guess it would be kind of similar to how the old light guns (duckhunt games) used to work in a way.

    Yeah, the main question is whether the flash would be quick enough as I'd be relying on the camera rather than a dedicated sensor.

    And then the ultimate question is, would it actually be any use?!

    I think as an idea it's alright, but seeing as I'd be using a
     

Share This Page

Loading...