Skip to content

Latest commit

 

History

History
20 lines (18 loc) · 381 Bytes

File metadata and controls

20 lines (18 loc) · 381 Bytes

CSV File Read in C++

CSV file read in C++

Introduction

  • Read the CSV file and save it to cv::Mat data type.
  • This code only works in the following specific cases:
  • CSV file formation ( any row * 4 column )
Sample.csv = 
1, 2, 3, 4
5, 6, 7, 8
9, 10, 11, 12
13, 14, 15, 16
17, 18, 19, 20

Environments

  • Windows 10 Enterprise
  • Visual Studio 2013
  • OpenCV 2.4.13