Calling the USB camera in Android

Source: Internet
Author: User

On the internet for a long time, the information on the internet is basically said to use a foreigner to write the library, but in fact the case of this library is not directly used (because of the permissions problem), not suitable for learning.

Later, it was discovered that the library was re-encapsulated, and there are source code and Chinese tutorials:

http://blog.csdn.net/andrexpert/article/details/78324181

Https://github.com/jiangdongguo/AndroidUSBCamera

Another way of thinking is to use OPENCV, with QT Development cross-platform program should be very good. But the test cell phone was borrowed, so there was no way to test it.

It is recommended to configure QT and OpenCV tutorials here:

http://blog.csdn.net/abcvincent/article/details/68486522

However, the author is here to say a little bit, that is, before running the OpenCV DLL file must be copied to the compilation directory, or Qtcreator will show a direct crash. VS is also the same, except that the VS will show missing DLL files.

If you still error, it may be that you use the wrong build platform (OpenCV3 only support 64-bit, while using the VC14 is vs2015 VC version)

Calling the USB camera in Android

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.