Skip to content

severi/opencv_library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 

Repository files navigation

READ THIS

this repository is not maintained anymore, use https://github.com/bitbar/opencv-library instead

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

# Install OpenCV (change path according to your platform)
mvn install:install-file -Dfile=lib/linux/opencv/opencv-2413.jar -DgroupId=opencv -DartifactId=opencv -Dversion=2.4.13 -Dpackaging=jar
	
# 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

About

Image Recognition Library for Mobile App Testing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages