Home > Back-end >  Opencv filestorage how to modify the file some of the data
Opencv filestorage how to modify the file some of the data

Time:11-19

Opencv filestorage how to modify the part (cover) file data
The WRITE mode will empty the entire file, Append mode cannot add the same node, cannot modify one node
For example:
% YAML: 1.0
-- -- --
Data1:!!!!! Opencv - matrix
Rows: 1
Cols: 5
Dt: d
E-01 data: [7.6837567552551056, 5.1303840017281443 e-01,
1.4294395465775366 e-02, 3.0034834169913520 e-03, 0.]
Data2:!!!!! Opencv - matrix
Rows: 1
Cols: 5
Dt: d
E-01 data: [6.2256897211887952, 7.1645027951399043 e-01,
4.5051831241112034 e-02, 1.1214968158071187 e-02, 0.)
1.1808118081180812 e+00 data3:
Data4:2.1752016618847847 e-02
2.2858233601626807 e+00 data5:
Data6:1

I want to modify data3 data, is there a way to do it
  • Related