China is launching an experimental summer camp for 40 youngsters to try to wean them off their internet addiction, state media said.

The 10-day programme would accept youngsters aged between 14 and 22 once they had undergone a psychological test and evaluation, the China Daily said.

About 2.6 million - or 13% - of China’s 20 million internet users under 18 are classed as addicts, state media have reported.

The youngsters at the summer camp would be treated for depression, fear, unwillingness to interact with others, panic and agitation.

It would appear to be offering a softer option than the Internet Addiction Treatment Centre near Beijing which uses a blend of therapy and military drills to treat children addicted to online games, internet pornography and cybersex.

Concerned by a number of high-profile Internet-related deaths and juvenile crime, the government is now taking steps to stem internet addictions by banning new Internet cafes and mulling restrictions on violent computer games.

According to government figures, there are currently 113,000 internet cafes and bars in China.

The newspaper cited the case of one student accepted to East China University of Science and Technology with high marks.

“He could not adjust to Shanghai campus life without burying himself in computer games,” the China Daily said. “He would play day and night, skipping classes and avoiding friends, until he was pulled out of the internet cafe by a supervisor.”

In a joint effort with the camp, Shanghai’s education commission has organised a volunteer group to patrol the city streets and stop minors entering internet cafes.



Digital photographers could soon be able to erase unwanted elements in photos by using tools that scan for similar images in online libraries.

Research teams have developed an algorithm that uses sites like Flickr to help discover light sources, camera position and composition in a photo.

Using this data the tools then search for objects, such as landscapes or cars, that match the original.

The teams aim to create image libraries that anyone can use to edit snaps.

James Hays and Alexei Efros from Carnegie Mellon University have developed an algorithm to help people who want to remove bits of photographs.

The parts being removed could be unsightly lorries in the snaps of the rural idyll where they took a holiday or even an old boyfriend or girlfriend they want to rub out from a photograph.

To find suitable matching elements, the research duo’s algorithm looks through a database of 2.3 million images culled from Flickr.

“We search for other scenes that share as closely as possible the same semantic scene data,” said Mr Hays, who has been showing off the project at the computer graphics conference Siggraph, in San Diego.

In this sense “semantic” means composition. So a snap of a lake in the foreground, hills in a band in the middle and sunset above has, as far as the algorithm is concerned, very different “semantics” to one of a city with a river running through it.

The broad-based analysis cuts out more than 99.9% of the images in the database, said Mr Hays. The algorithm then picks the closest 200 for further analysis.

Next the algorithm searches the 200 to see if they have elements, such as hillsides or even buildings, the right size and colours for the hole to be filled.

The useful parts of the 20 best scenes are then cropped, added to the image being edited so the best fit can be chosen.

Early tests of the algorithm show that only 30% of the images altered with it could be spotted, said Mr Hays.

The other approach aims to use net-based image libraries to create a clip-art of objects that, once inserted into a photograph, look convincing.

“We want to generate objects of high realism while keeping the ease of use of a clip art library,” said Jean-Francois Lalonde of Carnegie Mellon University who led the research.

To generate its clip art for photographs the team has drawn on the net’s Label Me library of images which has many objects, such as people, trees and cars, cut out and tagged by its users.

The challenge, said Mr Lalonde, was working out which images in the Label Me database will be useful and convincing when inserted into photographs.

The algorithm developed by Mr Lalonde and his colleagues at Carnegie Mellon and Microsoft Research analyses scenes to find out the orientation of objects and the sources of light in a scene.

“We use the height of the people in the image to estimate the height of the camera used to take the picture,” he said.

The light sources in a scene are worked out by looking at the distribution of colour shades within three broad regions, ground, vertical planes and sky, in the image.

With knowledge about the position, pitch and height of the camera and light sources the algorithm then looks for images in the clip art database that were taken from similar positions and with similar pixel heights.

The group has created an interface for the database of photo clipart so people can pick which elements they want to add to a scene.

www.bbc.co.uk



The car went off course at the rally
The car went off the course at the Lurgan Park rally
Seven people have been injured, one seriously, after a rally car crashed off the course and into a group of spectators in County Armagh.

Three ambulance crews attended the accident which happened on Saturday at about 1642 BST at Lurgan Park rally.

A number of people are in hospital with chest and back injuries. A 12-year-old boy suffered a head injury.

It is understood the accident happened in heavy rain at the last stage of the race.