def __init__(self, *args, **kwargs) -> None:
        """Initialize the pose feature extractor.

        Loads a pre-trained KeypointRCNN model and extracts its components for
        feature extraction.
        """
        super().__init__(*args, **kwargs)

        weights = KeypointRCNN_ResNet50_FPN_Weights.DEFAULT
        model = keypointrcnn_resnet50_fpn(weights=weights)
        self.model = model
        self.transform = model.transform
        self.backbone = model.backbone
        self.roi_heads = model.roi_heads
Initialize the pose feature extractor.

        Loads a pre-trained KeypointRCNN model and extracts its components for
        feature extraction.
        
src/anomalib/models/video/ai_vad/features.py