RIO DE JANEIRO (AP) — The public defender's office for Brazil's Rio de Janeiro state is complaining that a military-led crackdown on crime there is violating constitutional rights.

The agency's statement complains about the military's decision Friday to photograph and check the IDs of people coming in and out of crime-ridden slum areas.

Brazil's Constitution asserts citizens can only be approached by police when there are objective reasons to do so.

Brazil's government have the army control over security in Rio last weekend, hoping to quell a rising tide of crime in the city, which is the country's main tourist draw.