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 commentaire

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

Connectez-vous pour commenter.

Réponses (1)

Image Analyst
Image Analyst le 14 Oct 2023
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 commentaires

Aiman Zara
Aiman Zara le 14 Oct 2023
Modifié(e) : Aiman Zara le 14 Oct 2023
@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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Deep Learning Toolbox dans Centre d'aide et File Exchange

Produits

Version

R2019a

Commenté :

le 14 Oct 2023

Community Treasure Hunt

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

Start Hunting!

Translated by