Software for real-time 2d puppetry?
There's Adobe Character Animator. It does pretty much exactly what you're looking for. It's a commercial product, part of the Adobe Creative Cloud suite. I'm not aware of any other real-time 2D animation packages at this time.