This topic describes how to use Alibaba Cloud SDK for Java to customize image samples based on your management requirements to generate personalized content. You can use custom image libraries to intelligently detect pornographic content, terrorist content, and ad violations in images and videos.
Make sure that the following preparations are completed:
You have an Alibaba Cloud account and an AccessKey pair (AccessKey ID and AccessKey secret) that can be used to access Alibaba Cloud SDK for Java. You can go to the Security Management page of the Alibaba Cloud console to create or view your AccessKey pair.
You installed the Alibaba Cloud SDK for Java in advance. For more information, see Dependencies.
The sample code is no longer separately maintained. You can use OpenAPI Explorer to call API operations and obtain sample code. The API operations in the OpenAPI Explorer include CreateImageLib, CreatCustomOcrTemplate, DeleteImageLib, and DescribeImageFromLib.