Category: Images

How to draw text with border in Java 0

How to draw text with border in Java

I had a requirement to draw texts using bufferedimage which can have border. So here is the code I found. Basically you write the text 2 times with small shifts public static void drawStringWithBorder(Graphics...

Using Kairos API for face detection 0

Using Kairos API for face detection

There are many face detection/verification APIs available in the market. I have already covered Microsoft’s APIs for face detection here : Microsoft API for extracting image description. But apart from few free API calls...

Convert an image into a cartoon in Java 0

Convert an image into a cartoon in Java

One of my most popular Facebook app is Cartoonize your profile pic in which Profile photo of the user is converted into a cartoon. For this I had used an external library Jhlabs which...

How to find description/caption of a given image 0

How to find description/caption of a given image

Microsoft had recently exposed Computer Vision API. This feature returns information about visual content found in an image. Use tagging, descriptions and domain-specific models to identify content and label it with confidence. This is...

Converting an Photo into a sketch in Java 0

Converting an Photo into a sketch in Java

One of my most popular Facebook app is Sketch your profile pic in which Profile photo of the user is converted into a sketch. For this I had used an external library Jhlabs which...

Making round corners of an Image in Java 0

Making round corners of an Image in Java

An image looks better with round corners and luckily can be easily done using java api. Here is the code : public static BufferedImage makeRoundedCorner(BufferedImage image, int r) { BufferedImage output = new BufferedImage(r,...