I feel that isn't really humane. The people found violating curfew could just be educated on why restriction is necessary and what their rights are in present situation, whom they can appeal to if they are not satisfied with the explanation.
Instead, they are subjected to humiliating corporal punishment. This can't be good advertisement for the country.