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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T21:50:39+00:00 2026-06-07T21:50:39+00:00

I want to take some information from opencv program and then store them in

  • 0

I want to take some information from opencv program and then store them in a file that after can be read though Microsoft excel program or even through openoffice and libreOffice.

the information that I need is a char variable that takes a value from a function that I wrote, and the other variable is double and represents a property that I take from the VideoCapture Class.

In the excel format I want to have a 2 row table that in the first position should be the videoCapture property(timestamp) and the other row to have the value of the char that I want.

My question is if this can happen though saving my data in a .xml or .yml format that I can do with the use of Opencv FileStorage Class in a way that my file is ready for reading through excel.

How do I need to save my data in the xml file ready to read from excel?

  • 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-07T21:50:42+00:00Added an answer on June 7, 2026 at 9:50 pm

    I wouldn’t.

    The opencv xml format isn’t very good, it cheats by putting all the elements on a line separated with spaces and then reads them back and interprets the image shape from the row/col members.

    If you are writing large amounts of data (eg an image) I would create a simple function that outputs it as comma separated and import that. Or just output the cv::matrix with “<<” IIRC that space separates all the values in a row with a newline for each new row – Excel will import that easily

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

Sidebar

Related Questions

I want to write a Google Chrome Extension that can take information from a
I want to find the centroid of each contour.for that i take some sample
I am trying to write a code in python that will take some information
I have a class that has to take product information from one system's database
i want to add some amounts which in my tuple. i want to take
I want to take a math expression that takes variables and print (assign to
I want to write reusable code that takes an HTML table from a JSP
I'm going to give some information so you can understand where i'm at with
I am trying to take a single input from the user and delete some
I am trying to display some information on a grid queried from a sql

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.