Converting .mat to .json
117 ビュー (過去 30 日間)
古いコメントを表示
Hithanks
I have a .mat file which is used for annotating dataset. I want to convert it into .json file.
I'm not familiar to MATLAB an even doesn't have MATLAB installed.
my question is how to do that in MATLAB or python?
0 件のコメント
回答 (2 件)
Walter Roberson
2019 年 3 月 4 日
You can load() the .mat file, and pull out the variable you need, and use jsonencode()
2 件のコメント
cui,xingxing
2021 年 8 月 26 日
編集済み: cui,xingxing
2021 年 8 月 26 日
Hi, you can refer to Export Ground Truth Object to Custom and COCO JSON Files
Import images and COCO annotation json file to Matlab, refer to cocoAPI-matlab
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で JSON Format についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!