A man has pleaded guilty to charges after authorities say he put hidden cameras in the bathroom at a local Starbucks.