Hello! I am traveling to Brazil in February for Carnival. I want to take a professional camera. Is this a bad idea?

I don’t want it to be stolen. I will spend time in Rio, Salvador and São Paulo.

I traveled to Brazil in 2013 and I have a digital camera stolen at night. I had it in my hand instead of a backpack and was walking through a park at night with a friend. We got mugged by gun point.

If I take a camera I’ll be more cautious. But I am not sure if it’s even a good idea and if I should just leave my camera at home.

Thank you.