There are different "problems" as you're saying that could tackle your needs.
- Gesture recognition to detect different hand gestures
- Skeleton detection to infer people's positions and whether they have a raised hand
- Object detection (e.g., YOLO) to detect hands
I believe in this case you could go for skeleton detection as you get information from which you could infer raised hands.