Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8625995
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T07:54:53+00:00 2026-06-12T07:54:53+00:00

I am trying to set OpenCv up for my final year project and have

  • 0

I am trying to set OpenCv up for my final year project and have run into a couple of problems. I successfully got it set up in Ubuntu following this tutorial.

The problem I am having now is keeping this sample program running. The program is face detection using a webcam.

It runs fine for 3 or 4 seconds and then the capture gets stuck with a single frame in the window. The console displays the following output.

tom@ubuntu:~/College/opencv/faceDetect_sample$ make
./faceDetect --cascade="haarcascade_frontalface_alt.xml" --nested-cascade="haarcascade_eye_tree_eyeglasses.xml"
VIDIOC_QUERYMENU: Invalid argument
VIDIOC_QUERYMENU: Invalid argument
VIDIOC_QUERYMENU: Invalid argument
init done 
opengl support available 
select timeout
select timeout
select timeout
select timeout
select timeout
select timeout
^Cmake: *** [run] Interrupt

If anybody has an idea of where to go from here, I would really appreciate some help !

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T07:54:55+00:00Added an answer on June 12, 2026 at 7:54 am

    Try this:

    modprobe uvcvideo nodrop=1 timeout=6000
    

    and if that works, simply make the changes permanent by editing /etc/modprobe.d/modprobe.conf

    Try increasing the timeout to a ridiculously large number. That should fix the issue, or at least it worked for me. It’s just that the call to select returns no ready descriptors, and that may be caused by the video driver, or device one.

    If that does not work,

    Enable module traces:

    sudo echo 0xffff > /sys/module/uvcvideo/parameters/trace
    

    Run the program until the error is found, and stop it as soon as possible. Then disable the traces:

    sudo echo 0 > /sys/module/uvcvideo/parameters/trace
    

    Search with dmesg for error messages.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Trying to set up a new project, and running into a weird issue. I
I have been trying to set up OpenCV for the past few days with
I am trying to integrate some OpenCV functionality into my application. Currently I have
When trying to set DoMatchParen I get the following error: E492: Not an editor
Possible Duplicate: How to set ROI in OpenCV? I'm trying to use a smoothing/blur
Im trying to set my tabs as a scrollbar. I have 6 tabs but
I'm trying to set up OpenCV 2.4 as follows: I've downloaded and extracted the
I am trying to compile/build OPenCV 2.3 with the help of CMake/Mingw. I got
I'm new to C++ and trying to add OpenCV into Microsoft's Kinect samples. I
I'm trying set up an execution account following the steps here: http://msdn.microsoft.com/en-us/library/ms156302.aspx I follow

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.