Ask Your Question

ho__oh's profile - activity

2017-04-03 07:14:10 -0600 asked a question How can i build opencv 3.2.0 on Android with build_sdk.py

I run the file /platforms/android/build_sdk.py but get the following error:

[1173/1190] Building OpenCV Android library project
FAILED: bin/classes.jar bin/classes.jar.dephelper
cd /Users/hailuongquang/3rd/opencv/build/lean_android/o4a && /usr/local/bin/ant -q -noinput -k debug -Djava.target=1.6 -Djava.source=1.6 && /usr/local/Cellar/cmake/3.7.2/bin/cmake -E touch /Users/hailuongquang/3rd/opencv/build/lean_android/o4a/bin/classes.jar.dephelper
Buildfile: build.xml does not exist!
Build failed
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
  File "opencv/platforms/android/build_sdk.py", line 305, in <module>
    builder.build_library(abi, do_install)
  File "opencv/platforms/android/build_sdk.py", line 150, in build_library
    execute(["ninja"])
  File "opencv/platforms/android/build_sdk.py", line 20, in execute
    raise Fail("Child returned: %s" % retcode)
__main__.Fail: Child returned: 1

Could any help me with this?

2014-06-16 11:26:03 -0600 commented question Image steganography

Thank you, It works now!

2014-06-09 00:28:59 -0600 asked a question Image steganography

I read the book "Instant OpencCV Starter" and code the steganography (Create image C by copy 4 most significant bits of image A to 4 least significant bits of image B). The encode and decode work well when i run directly. But in the case of decode, when i save the steged image to file (e.g. steged.jpg) and then decode this file, the hidden image is not the same as when i run directly, there are some problems with the colors. Could any one help me with this, why decode the saved file is different from decode the Mat directly?

2014-06-08 05:19:03 -0600 asked a question Cannot read image in Visual Studio 2012 on debug mode

I have installed OpenCV 2.4.9 on my visual studio 2012 Ultimate and configured the project but when running in debug mode, it cannot read the image within function imread() (the data is always NULL). However, when i go to /Debug/ folder and run the built .exe program here, it works.

Could anyone help me with this problem?