Over a million developers have joined DZone.

Android Image Recognition with Neuroph & NetBeans

DZone's Guide to

Android Image Recognition with Neuroph & NetBeans

· Mobile Zone
Free Resource

Download this comprehensive Mobile Testing Reference Guide to help prioritize which mobile devices and OSs to test against, brought to you in partnership with Sauce Labs.

Have you ever thought how cool it would be to have image recognition on your Android phone? Well, now that's very easy thanks to Neuroph and NetBeans.

Neuroph provides a simple API to work with neural networks, specialised plugin for image recognition and Neuroph Studio, rich wizard based GUI based on the NetBeans Platform to work with neural networks and create image recognition components. Since  version 2.6, Neuroph provides a compatibility layer to run image recognition on Android (thanks to Dalibor Micic for this great contribution). Previously there were problems with BufferedImage (Bitmap on Android) and Dimension classes.

Once you create an image recognition neural network using Neuroph, use NbAndroid plugin to create the image recognition for Android. At the moment there are two step by step tutorials which explain how to make  this work:

1. Image recognition with Neuroph which explains how to create image recognition neural network using Neuroph

2. Android Image Recognition App which explains how to use neural network created with previous tutorial in android app

Note that this is a very basic example, a kind of 'Hello World' for image recognition, but if you get deeper into this you might be able to get more advanced stuff.

Analysts agree that a mix of emulators/simulators and real devices are necessary to optimize your mobile app testing - learn more in this white paper, brought to you in partnership with Sauce Labs.

netbeans ,android

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}