card.io-Android-SDK icon indicating copy to clipboard operation
card.io-Android-SDK copied to clipboard

Card.io mismatching with preused OpenCV 3.0 version

Open Himanshu7441 opened this issue 7 years ago • 6 comments

Hi,

I want to use Card.io in my android application. I already have used "libopencv_core.so" and "libopencv_imgproc.so" files (Using OpenCV 3.x version) in my project as they were required for my application Logic. Now the Card.io is usign the same files with OpenCV 2.x version. Thus my project now contains duplicate files and not compiling.

I have also tried to exclude these libraries from card.io but this time camera screen is not working. Its showing only manual entries.

Please help me here.

Himanshu7441 avatar Jun 19 '17 08:06 Himanshu7441

card.io uses and requires OpenCV 2.4.13 at this time. To be compatible with applications using OpenCV 3, it would need to be upgraded to use OpenCV 3.

lkorth avatar Jun 19 '17 17:06 lkorth

@lkorth Thanks for the update. Can you please help me with updating Card.io to the latest version?

Himanshu7441 avatar Jun 19 '17 17:06 Himanshu7441

The source code for card.io is at https://github.com/card-io/card.io-Android-source and https://github.com/card-io/card.io-dmz . In order to upgrade to OpenCV 3.x both repos would need to be updated. If this is something you're interested in working on, please feel free to submit a pull request.

lkorth avatar Jun 19 '17 17:06 lkorth

@lkorth Thanks. This is exactly what I am interested in. Actually I have tried the same once. Let me tell you the steps that I had performed:-

  1. Check out the source code from https://github.com/card-io/card.io-Android-source.
  2. Go to OpenCV/build_opencv.sh
  3. update the opencv version.
  4. Try to rebuild the card.io using ./gradlew clean assembleDebug.

But this didn't work. I didn't do anything in https://github.com/card-io/card.io-dmz .

I know I am doing it wrong way. It'll be really helpful if you could let me know the exact steps to do the same.

Himanshu7441 avatar Jun 19 '17 17:06 Himanshu7441

I have updated the openCv version to 3.x by updating build_opencv.sh. This was mentioned in the docs.

Now project is throwing errors in dmz files of https://github.com/card-io/card.io-dmz.

But I am confused how to update card.io-dmz as not much documentation is provided for the same. Please help.

Himanshu7441 avatar Jun 20 '17 14:06 Himanshu7441

Any update on this?

Himanshu7441 avatar Jun 28 '17 06:06 Himanshu7441