View Full Version : FlickR Project

02-18-2006, 09:29 AM

I'm new here, a good friend of mine (Ganglylamb) passed me the the link to this forum.

Me and the rest of my team need to program some Flickr application for a project at school, the application needs to be able to transform a picture in a mosaic of small pictures.

Is there anyone who has ever done something like that, or knows good sites with example code and such?

I looked at the API on the flickr website, but it doesnt really help to get started...

tnx in advance, Stormcrow

02-19-2006, 04:26 AM
Could this thread please be moved to general discussion?


Mod Edit: Moved. nvoigt.

02-23-2006, 12:24 PM
Maybe I should be a bit more specific:

at the moment we're able to convert an image to a tiling of colored squares by calculating the coloraverage of all pixels of - let's just say - a square of 50x50 pixels...
this does approximate the original image.

next problem is that we need to replace the colored tiles by images with a color ressembling the color of that tile...
so if the tile was some redish color, then the used image at that spot should be mainly the same red.
now for example: if by running through the database of pictures to compare with the needed color I find an image of mainly the red color I need...but the image also contains a certain amount of black, calculating the total average of the image will not return the red that dominates in the picture, and therefore the picture will be discarded, howthough from just a simple optical point of view the red DID dominate.

does anybody have an accurate way to calculate the overall color of the pictures in the database?
damn problem is that FlickR API doesnt contain any method that lets you search by overall color, it only searches by groupname, or tagnames and so on... :(