TOKYO - The Japanese government is planning to trial an artificial intelligence system for spotting wild bears to better deal with an increasing number of attacks by the animals on humans, a government source said Monday.