c# - How to moderate image content using Azure AI - Stack Overflow

I am aware that I can use ;pivots=programming-language-csharp to get information about a specific image

I am aware that I can use ;pivots=programming-language-csharp to get information about a specific image.

Is Azure Content Safety able to 'block out' specific text sections on an image? or does it just detect them but not be able to save the image again without some specific offensive content/pii info/words etc?

What I'm looking for is to be able to not only detect but also reduct the PII info on an image/pdf/word doc

I am aware that I can use https://learn.microsoft/en-us/azure/ai-services/content-safety/quickstart-image?tabs=visual-studio%2Cwindows&pivots=programming-language-csharp to get information about a specific image.

Is Azure Content Safety able to 'block out' specific text sections on an image? or does it just detect them but not be able to save the image again without some specific offensive content/pii info/words etc?

What I'm looking for is to be able to not only detect but also reduct the PII info on an image/pdf/word doc

Share Improve this question asked Nov 20, 2024 at 17:19 ShaneKmShaneKm 21.4k46 gold badges176 silver badges307 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

Azure Content Safety can't directly block out or redact text sections of an image. It only detects sensitive content and provides metadata about it.

If you want to perform redaction for images, then you can use Azure OCR for text detection and Azure PII detection for identifying sensitive information. For redacting you will need an additional library like OpenCV.

For PDFs you can use the Azure AI Language service, which supports native document processing to detect AND redact sensitive information. You may also use libraries like pdfplumber for the manipulation.

I hope this helps so far.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742341687a4425754.html

相关推荐

  • c# - How to moderate image content using Azure AI - Stack Overflow

    I am aware that I can use ;pivots=programming-language-csharp to get information about a specific image

    4小时前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信