Converting .mat to .json

57 ビュー (過去 30 日間)
N. Hosseini
N. Hosseini 2019 年 3 月 4 日
編集済み: xingxingcui 2024 年 4 月 27 日
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?

回答 (2 件)

Walter Roberson
Walter Roberson 2019 年 3 月 4 日
You can load() the .mat file, and pull out the variable you need, and use jsonencode()
  2 件のコメント
N. Hosseini
N. Hosseini 2019 年 3 月 9 日
Thank you for your response
shubham Kumar
shubham Kumar 2019 年 7 月 10 日
how can we save the .json file after creating the .json format?

サインインしてコメントする。


xingxingcui
xingxingcui 2021 年 8 月 26 日
編集済み: xingxingcui 2024 年 4 月 27 日
Import images and COCO annotation json file to Matlab, refer to cocoAPI-matlab
-------------------------Off-topic interlude, 2024-------------------------------
I am currently looking for a job in the field of CV algorithm development, based in Shenzhen, Guangdong, China,or a remote support position. I would be very grateful if anyone is willing to offer me a job or make a recommendation. My preliminary resume can be found at: https://cuixing158.github.io/about/ . Thank you!
Email: cuixingxing150@gmail.com

カテゴリ

Help Center および File ExchangeJSON Format についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by