The US city of Baltimore is deploying a controversial method of surveillance that was developed for use in Iraq.