Arduino + Processing + Display Photo

Hello!
I was doing my project which has the following steps:

  1. using the light sensor connected with arduino to get the ambient light info;
  2. arduino transfer that data to computer;
  3. under the Processing, the data will be used to match the light info associated with the photo and display a certain photo from the folder.(has the similar ambient light)
    I was wondering if it is all possible to achieve? and about this matching system, should i use a series of numbers?
    2 weeks until my presentation........
    Really appreciate if you guys could give some suggestions!!!!

Thanks!!

What sort of ambient light sensor did you have in mind?
Bear in mind that the dynamic range of daylight can (IIRC) be five or six orders of magnitude.

I'd probably average the light sensor readings over a few tens of seconds, to avoid flicker.

Currently I am using SEN-08940, I was thinking of change to TEMT6000 just to get a simple reading of the sunlight.

Thank you for the suggestion of average the values! Make much more sense! So if I want the reading of the daytime, it will probably be something like "677885443"? and then using this value to find the image in data folder of my computer, sounds good?