Monthly Archive: May 2017

How to store Java objects in Redis 0

How to store Java objects in Redis

Redis is one of the most poplar caching solution currently used by various companies. It can act as a cache as well as database and is a simple key-value storage system. As we know...

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 analyze permgen space 0

How to analyze permgen space

Almost every JVM nowadays uses separate region of memory, called Permanent Generation (or PermGen for short), to hold internal representations of java classes. The root cause of java.lang.OutOfMemoryError: PermGen space is exactly the same:...