Skip to content
This repository has been archived by the owner on Dec 7, 2020. It is now read-only.

Commit

Permalink
Merge pull request #4 from szprutamich/master
Browse files Browse the repository at this point in the history
Logging error output from akaze command
  • Loading branch information
szprutamich authored Aug 9, 2017
2 parents 3d3fc8f + 3bd1bba commit 6ae63c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion library/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.testdroid</groupId>
<artifactId>mobile-opencv-image-recognition-library</artifactId>
<version>0.3.1</version>
<version>0.3.2</version>
<packaging>jar</packaging>
<name>OpenCV Mobile Image Recognition Library</name>
<description>Library for image recognition that can be used in mobile testing with for example Appium</description>
Expand Down
5 changes: 5 additions & 0 deletions library/src/main/java/imagerecognition/AkazeImageFinder.java
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,11 @@ private String runAkazeMatch(String object_filename, String scene_filename) thro
InputStreamReader isr = new InputStreamReader(stdin);
BufferedReader br = new BufferedReader(isr);
String line;
while ((line = br.readLine()) != null)
logger.info(line);
stdin = proc.getErrorStream();
isr = new InputStreamReader(stdin);
br = new BufferedReader(isr);
while ((line = br.readLine()) != null)
logger.info(line);
int exitVal = proc.waitFor();
Expand Down

0 comments on commit 6ae63c3

Please sign in to comment.