In both cases I can somewhat make the embarrassment minimal by just being upfront with folks.
In the case of debt, however, the reason for the pictures is because I didn't pay the debt. It doesn't matter if it was preventable or accidental, i'm still the guilty party. Not only do you have the photos, but you have outsiders knowing your financial affairs. Nothing can be done if you don't have money.
In your example, someone had to install that camera without permission then come forward to try to get money. I could call the police. I could forewarn folks about getting such an email. I have options. Not only that, but people are more likely to see that I've been victimized in some respect.
Granted, I'm not for the naked photo bribery method of collecting debt, but it still is different situations.
To be fair, though, in some cultures the shame really is with the nakedness. To a lesser extent, that extends to different regions of the US or different sorts of families.
Edit: Some of the reaction with the nudity - for a supervisor at work - is that if I was the supervisor getting that picture, I'd never forget the look of them naked. Whatever I did see. And so I imagine it is about the same for other people.
vs
Someone installed a hidden camera in your house, and tried to exhort you for money with videos of you showering