how to export image classification results in excel sheet

i did image classification using Neural Network, now I want the results shown in command window to also save/export in excel sheet. How to do that?

댓글 수: 1

How are the results stored? What is the data type of the results stored?

댓글을 달려면 로그인하십시오.

답변 (1개)

Image Analyst
Image Analyst 2023년 10월 14일

0 개 추천

Exactly what results do you want to export? Screenshot please. If you have it in a variable, you can use writetable or writecell to put it into a workbook.

댓글 수: 6

Aiman Zara
Aiman Zara 2023년 10월 14일
편집: Aiman Zara 2023년 10월 14일
@Image Analyst No, i dont have it in variable, the above image shows one name of disease but I have four diseases and one stage name of plant in command window, couldnot Screenshot that because other results were quite down in the command window. I hope you got this, please help me through the process
" i dont have it in variable"
How are they stored then? By magic?
@Dyuman Joshi this is the code that I have been working with, see if you find any magic in it
load ("D:\Training\T6\netTransfer.mat")
netTransfer.Layers
im = imread("D:\D\cotton\Diseases\bacterial blight\(2).jpeg");
sz = netTransfer.Layers(1).InputSize(1:2);
im = imresize(im,sz);
label = classify(netTransfer, im)
figure
imshow(im)
text(10,20,char(label), 'Color', 'black')
Can you attach netTransfer.mat?
@Image Analyst sorry, i can't because I am not allowed to before the submission of the project. I have diseases names Alternaria, Blue disease, cercospora, black root rot and seedling stage in the command window, now i want them export in the excel with the variable names Diseases and Stage.
"I have diseases names ..."
Where did the disease names come from?
"No, i dont have it in variable, the above image shows one name of disease"
The screenshot you have attached shows that "bacterial blight" is assigned to the variable "label" but you say that you don't have a variable. You are contradicting yourself.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Agriculture에 대해 자세히 알아보기

제품

릴리스

R2019a

질문:

2023년 10월 14일

댓글:

2023년 10월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by