Ignore:
Timestamp:
2019-07-26T12:53:48+12:00 (5 years ago)
Author:
cpb16
Message:

Pre-hires classification w/o MU

File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/is-sheet-music-encore/trunk/image-identification-development/src/Main.java

    r33340 r33367  
    746746            Mat edgesDetectedRGB = new Mat();
    747747            Mat clustersFoundRGB = new Mat();
    748             String directory = "/Scratch/cpb16/is-sheet-music-encore/lowres-download-images/MU/";
     748            String directory = "/Scratch/cpb16/is-sheet-music-encore/download-images/MU/";
    749749            //!!!!!!!!!!!!!!!!!!!!!!!!!!!NOT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    750750            //mdp.39015097852365-2.png 176 lines    Contents page.
     
    752752            //!!!!!!!!!!!!!!!!!!!!!!!!!!!NOTNOT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    753753            //coo.31924062612282-9.png 8   lines
    754             //String default_file = directory+"NotSheetMusic/coo.31924062612282-9.png";
     754            String default_file = directory+"NotSheetMusic/coo.31924062612282-9.png";
    755755            //String default_file = directory+"NotSheetMusic/mdp.39015097852365-2.png";
    756             String default_file ="TestImages/NotNot/mdp.39015080972303-3.png";
     756            //String default_file ="TestImages/NotNot/mdp.39015080972303-3.png";
    757757
    758758
     
    808808
    809809
    810 
    811810            //Display Results
    812811            //HighGui.imshow("Source", original);
     
    817816            //HighGui.imshow("Detected Lines (in red) - negative", edgesDetectedRGBProb);
    818817
    819 
    820 
    821             //System.out.println("LINE COUNT RESULT:   " +  ClassifierLineCount(horizontalLineCount) + '\t' +"LinesFound: " + horizontalLineCount); //COUNT OF LINES CLASSIFICATION
     818            System.out.println("LINE COUNT RESULT:   " +  ClassifierLineCount(horizontalLineCount) + '\t' +"LinesFound: " + horizontalLineCount); //COUNT OF LINES CLASSIFICATION
    822819            //System.out.println("LINE CLUSTER RESULT: " +  ClassifierLineClusterOLD(toBeClassifiedImg).get(0) + '\t' + "LinesFound: " + ClassifierLineClusterOLD(toBeClassifiedImg).get(1) + '\t' + "ClustersFound: " + ClassifierLineClusterOLD(toBeClassifiedImg).get(2));
    823820            //System.out.println("NEW CLUSTER RESULTS: " +  ClassifierLineClusterPt(pointArrayList,clustersFoundRGB).get(0) + '\t' + "LinesFound: " + horizontalLineCount + '\t' + "ClustersFound: " + ClassifierLineClusterPt(pointArrayList,clustersFoundRGB).get(1));
    824821            //System.out.println(ClassifierLineClusterPt(pointArrayList, clustersFoundRGB));
    825822
    826             System.out.println("TEST: " + LineCountOrCluster(horizontalLineCount, pointArrayList, clustersFoundRGB));
     823            //System.out.println("TEST: " + LineCountOrCluster(horizontalLineCount, pointArrayList, clustersFoundRGB));
    827824
    828825            // Wait and Exit
Note: See TracChangeset for help on using the changeset viewer.