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

  • Home
  • SEARCH
  • 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 8922483
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T06:50:50+00:00 2026-06-15T06:50:50+00:00

I am trying to use openCV to get images from the camera install in

  • 0

I am trying to use openCV to get images from the camera install in my laptop (running Ubuntu 11.04), and I have some questions/problems:

  1. I have checked that some code examples use the following includes:

    #include “cv.h”

    #include “highgui.h”

    but once I compile the code, errors are given due to those includes. How can I set those packages/libraries to be used in my code? I try doing it following this website http://www.samontab.com/web/2011/06/installing-opencv-2-2-in-ubuntu-11-04/ but no success.

  2. Once an image is loaded in an object IplImage*, how can I sent it through a socket? I have though about saving it to a file using “cvSaveImage(fileName,img)”, and then open such file and send it (which I have no problem with, since I have sent files .bmp and .jpg through sockets), but I not sure whether this may be the optimal way to do it. I have checked that the structure IplImage have several fields, but I am not sure which one of them can be used for my purpose.

  3. How can I get the variable of the camera of my laptop as parameter for cvCaptureFromCAM in openCV?

Thanks in advance for any help you could provide.

  • 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-15T06:50:53+00:00Added an answer on June 15, 2026 at 6:50 am

    The main problem I was facing was that I was installing openCV for a different version of Ubuntu. Once I install the right method for the appropiate version of Ubuntu the mentioned problems in my question disappeared, using “0” as index for my laptop camera.

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

Sidebar

Related Questions

I am trying to acquire single images from a camera, do some processing to
I am trying to use OpenCV on my Ubuntu machine but I am having
HI! I'm trying to install opencv and use it with python, but when I
I am trying to use OpenCV to match images like these: img2 http://img849.imageshack.us/img849/8177/clearz.jpg And
I am trying to use OpenCV's estimateAffine3D() function to get the affine transformation between
I'm trying to use OpenCV to open a camera. This works fine when I
I am trying to call OpenCV function MinAreaRect2 from within python. I use OpenCV
I'm trying to use new OpenCV feature on Android: native camera access. According to
I'm trying to use OpenCV to extract SURF descriptors from an image. I'm using
I am trying to use OpenCV and Python to stitch together several hundred puzzle

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.