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 7779311
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T18:37:04+00:00 2026-06-01T18:37:04+00:00

I am working with an existing codebase that creates CVD images from a webcam

  • 0

I am working with an existing codebase that creates CVD images from a webcam before doing processing. My aim is to run marker detection on this image for augmented reality before the rest of the processing happens and I am planning to do this using ArUco. The problem is that ArUco takes in a OpenCV image in order to detect the markers.

I am thinking of manually creating this OpenCV image from the CVD image by manually accessing each pixel of the CVD image and sticking the RGB values into a new OpenCV image. I am not too familiar with working with C++ but surely there is a better way of doing this?

  • 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-01T18:37:05+00:00Added an answer on June 1, 2026 at 6:37 pm

    I use something like this. The type for myImage is a (custom) image type that stores the 3 bytes for each pixel of the image in consecutive bytes of memory, and myImage.data() is a pointer to the start of that memory. If your CVD image (which I’m not familiar with) is laid out in a similar way, you can do the same.

    cv::Mat image(rows, cols, CV_8UC3, myImage.data());
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on a new feature in an existing Perl codebase that will allow
I'm working on some existing c++ code that appears to be written poorly, and
I am working on an existing ASP.NET MVC app that started small and has
I'm working with an existing EF data model that includes subclassed objects. That works
I'm working on an existing magento web site that is in french. The link
I'm working with an existing database that has first name and last name seperated
I'm working on a project with a large existing codebase and I've been tasked
I'm working on porting an existing codebase to GWT, but I am to change
I am working on a web application with an existing code base that has
I'm working with a large existing codebase with tons of legacy code I can't

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.