Looking for open-source AI that automatically classifies and blurs images/videos based on gender

I am on the lookout for an open-source AI tool or project that can automatically analyze and categorize images and videos based on the gender of the people in them. The features I am hoping to find include:

  1. Automatic Classification: The AI should sort content into three categories:
    • Male: Only men are present.
    • Female: Only women are present.
    • Mixed: Both men and women are present.
  2. Blurring Capabilities: I want to be able to choose which categories get blurred. For example, if I want to blur content with women, I should be able to select the female and mixed categories, and the AI would automatically blur those images or videos.

Does anyone know of any open-source projects or tools that already do this? I have come across OpenCV, Dlib, TensorFlow, and PyTorch, but I am not sure if there is something out there that combines these features in a ready-to-use package.

Any leads or recommendations would be greatly appreciated.