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 #3 from szprutamich/master
Browse files Browse the repository at this point in the history
Logging output from akaze command
  • Loading branch information
szprutamich committed Aug 9, 2017
2 parents 2fe904c + c40fc67 commit 3d3fc8f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
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</version>
<version>0.3.1</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: 3 additions & 2 deletions library/src/main/java/imagerecognition/AkazeImageFinder.java
Original file line number Diff line number Diff line change
Expand Up @@ -354,8 +354,9 @@ private String runAkazeMatch(String object_filename, String scene_filename) thro
InputStream stdin = proc.getInputStream();
InputStreamReader isr = new InputStreamReader(stdin);
BufferedReader br = new BufferedReader(isr);
while ((br.readLine()) != null)
System.out.print("");
String line;
while ((line = br.readLine()) != null)
logger.info(line);
int exitVal = proc.waitFor();
if (exitVal != 0)
logger.info("Akaze matching process exited with value: " + exitVal);
Expand Down

0 comments on commit 3d3fc8f

Please sign in to comment.