Java using local webcam related notes (i)

Source: Internet
Author: User

Start around May 10, 2015, ready to use Java to do a gesture recognition related things, gesture recognition related content has been done, need to solve is to use the camera at 10 times per second read the image.

Baidu began to use a circle, said JMF can, but found JMF this thing has not been updated for a long time, and does not support 64-bit, after a few attempts to use the JAVACV (Google did that)

Here to mention the ORG.OPENCV on the OpenCV of the official own Java-supported package, tried all day this, can't read the camera.

JAVACV Configuration Tutorial Google a lot, here to send a random: http://blog.csdn.net/victory06057231/article/details/8026188

Need to pay attention, now JAVACV package is not com.googlecode.xxx, is org.xxx (open source Dafa good, Google good character)

I still don't send an example because I've been through this hole, for example, see the example of HTTPS://CODE.GOOGLE.COM/P/JAVACV/GOOGLE-JAVACV official website

Problems encountered:

When I used eclipse, I never knocked my name on the code, it was an automatic reminder of eclipse, and the results were in the test example

Iplimage image=cvloadimage (fileName);

Eclipse reported a cvloadimage error, be sure to manually add the package name here

Java using local webcam related notes (i)

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.