OpenCV Mobile Image Recognition Library

Library for image recognition that can be used in mobile testing with for example Appium

License

License

Categories

Categories

OpenCV Business Logic Libraries Computer Vision
GroupId

GroupId

com.testdroid
ArtifactId

ArtifactId

mobile-opencv-image-recognition-library
Last Version

Last Version

0.3.3
Release Date

Release Date

Type

Type

jar
Description

Description

OpenCV Mobile Image Recognition Library
Library for image recognition that can be used in mobile testing with for example Appium
Project URL

Project URL

https://github.com/bitbar/opencv-library
Source Code Management

Source Code Management

https://github.com/bitbar/opencv-library

Download mobile-opencv-image-recognition-library

How to add to project

<!-- https://jarcasting.com/artifacts/com.testdroid/mobile-opencv-image-recognition-library/ -->
<dependency>
    <groupId>com.testdroid</groupId>
    <artifactId>mobile-opencv-image-recognition-library</artifactId>
    <version>0.3.3</version>
</dependency>
// https://jarcasting.com/artifacts/com.testdroid/mobile-opencv-image-recognition-library/
implementation 'com.testdroid:mobile-opencv-image-recognition-library:0.3.3'
// https://jarcasting.com/artifacts/com.testdroid/mobile-opencv-image-recognition-library/
implementation ("com.testdroid:mobile-opencv-image-recognition-library:0.3.3")
'com.testdroid:mobile-opencv-image-recognition-library:jar:0.3.3'
<dependency org="com.testdroid" name="mobile-opencv-image-recognition-library" rev="0.3.3">
  <artifact name="mobile-opencv-image-recognition-library" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.testdroid', module='mobile-opencv-image-recognition-library', version='0.3.3')
)
libraryDependencies += "com.testdroid" % "mobile-opencv-image-recognition-library" % "0.3.3"
[com.testdroid/mobile-opencv-image-recognition-library "0.3.3"]

Dependencies

compile (5)

Group / Artifact Type Version
net.sourceforge.tess4j : tess4j jar 3.2.1
ch.qos.logback : logback-classic jar 1.1.7
org.slf4j : slf4j-api jar 1.7.4
org.openpnp : opencv jar 3.2.0-1
org.json : json jar 20151123

Project Modules

There are no modules declared in this project.

Overview

This is an image recognition library that can be used for mobile application testing.

This library has been extracted and refactored from the following project: https://github.com/bitbar/testdroid-samples/tree/master/image-recognition

As this README is currently rather simplistic, more information can be found from the original project's readme or from this blog post: http://bitbar.com/appium-tip-27-using-appium-for-mobile-game-testing

Prerequisites

General

Appium

Android

Android SDK

Notes

export PATH=$PATH:$ANDROID_HOME/platform-tools/
export PATH=${PATH}:$ANDROID_HOME/tools/

iOS

libimobiledevice

Notes

brew uninstall libimobiledevice
brew install --HEAD libimobiledevice

Getting started

Run Appium:

appium or appium -U <udid>

cd example
	
# Download the example Android application
wget https://github.com/bitbar/testdroid-samples/blob/master/apps/builds/BitbarSampleApp.apk -O application.apk
mvn -Dtest=AndroidSample clean test
	
# Download the example iOS application
wget https://github.com/bitbar/testdroid-samples/blob/master/apps/builds/BitbarIOSSample.ipa -O application.ipa
export UDID=<iPhone udid>
mvn -Dtest=iOSSample clean test
com.testdroid

Bitbar

The most flexible mobile app testing platform

Versions

Version
0.3.3
0.3.2
0.3.1
0.3
0.2
0.1