There are some commercial products such as http://pikture.logikit.net/Content
and there are lot of research papers if you are interested in implementing them : http://portal.acm.org/citation.cfm?id=1021261 http://www.springerlink.com/content/e774824834226tv2