1 / 8

Week 4 Report

Week 4 Report. Shelby Thompson. This week…. Focused more on coding No research papers Feel better in MatLab. Starting Code…. fpath ='F:Datasetsalbums shelby info' ; files = dir(fullfile(fpath ,'*_ tag.txt ')) ; for f = 1 : length(files )

leann
Download Presentation

Week 4 Report

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Week 4 Report Shelby Thompson

  2. This week… • Focused more on coding • No research papers • Feel better in MatLab

  3. Starting Code… fpath='F:\Datasets\albums\shelby\info'; files = dir(fullfile(fpath,'*_tag.txt')); for f = 1 : length(files) [t1,t2,t3,t4] =textread(fullfile(fpath,files(f).name),'%d %f %f %d'); if t4(1) == -1 continue; end end

  4. Starting Code… • Creates a file to store photo info • Makes a each image an info file • Ignores pictures if album number is -1

  5. Ending Code… fpath='F:\Datasets\albums\shelby\info'; files = dir(fullfile(fpath,'*_tag.txt')); for f = 1 : length(files) [t1,t2,t3,t4] =textread(fullfile(fpath,files(f).name),'%d %f %f %d'); files(f).name =strrep(files(f).name,'_tag.txt','') disp(files(f).name); if t4(1) == -1 continue; end end

  6. Ending Code… • This code goes changes the names of the info files • No _tag.tex part of name • Displays new names

  7. Goals for next week… • Analyze data • Use public datasets • Use pairwise distances and features • Plot data • Show results

  8. Fin

More Related