Algorithm to detect presence of text on image

There is a standard problem in vision called text detection in images. it is quite different to OCR. OCR concerms itself with what it says, while text detection is about determining if there is text in the image. Adi Shavit’s third link is a method to address this problem. You can look on google scholar … Read more

Are there revision control systems for images?

Subversion is actually pretty good for version controlling binary files. It’s just about the only great strength it has over, say, Git (as far as I’m concerned, anyway). See this answer of mine for a more detailed explanation of that assertion. ImageMagick has a compare command that shows you the pixel-by-pixel difference between two RASTER … Read more

Show animated GIF

Using Swing you could simply use a JLabel: public static void main(String[] args) throws MalformedURLException { URL url = new URL(“<url_to_animated_gif>”); Icon icon = new ImageIcon(url); JLabel label = new JLabel(icon); JFrame f = new JFrame(“Animation”); f.getContentPane().add(label); f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); f.pack(); f.setLocationRelativeTo(null); f.setVisible(true); }

How to query Android MediaStore Content Provider, avoiding orphaned images?

Okay, I’ve found the problem with this code sample. In the onCreate() method, I had this line: mImageCursor = managedQuery( MediaStore.Images.Thumbnails.EXTERNAL_CONTENT_URI, projection, selection, selectionArgs, null ); The problem here is that it’s querying for the thumbnails, rather than the actual images. The camera app on HTC devices does not create thumbnails by default, and so … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)