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

Commit 3d3fc8f

Browse files
authored
Merge pull request #3 from szprutamich/master
Logging output from akaze command
2 parents 2fe904c + c40fc67 commit 3d3fc8f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

library/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>com.testdroid</groupId>
66
<artifactId>mobile-opencv-image-recognition-library</artifactId>
7-
<version>0.3</version>
7+
<version>0.3.1</version>
88
<packaging>jar</packaging>
99
<name>OpenCV Mobile Image Recognition Library</name>
1010
<description>Library for image recognition that can be used in mobile testing with for example Appium</description>

library/src/main/java/imagerecognition/AkazeImageFinder.java

+3-2
Original file line numberDiff line numberDiff line change
@@ -354,8 +354,9 @@ private String runAkazeMatch(String object_filename, String scene_filename) thro
354354
InputStream stdin = proc.getInputStream();
355355
InputStreamReader isr = new InputStreamReader(stdin);
356356
BufferedReader br = new BufferedReader(isr);
357-
while ((br.readLine()) != null)
358-
System.out.print("");
357+
String line;
358+
while ((line = br.readLine()) != null)
359+
logger.info(line);
359360
int exitVal = proc.waitFor();
360361
if (exitVal != 0)
361362
logger.info("Akaze matching process exited with value: " + exitVal);

0 commit comments

Comments
 (0)