Changeset 21265 for gs3-extensions


Ignore:
Timestamp:
12/04/09 16:08:54 (11 years ago)
Author:
kjdon
Message:

commented out some stuff in add which is now in constructor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs3-extensions/pharos/trunk/src/java/pharosimageis/PharosImageIS.java

    r21257 r21265  
    3838  }
    3939
    40   public String query(String collection, String id) throws Exception {
     40    public String query(String collection, String id) throws Exception {
    4141    ContentBasedSearchWSProxyStub.QueryByID req = new ContentBasedSearchWSProxyStub.QueryByID();
    4242    String input = query_xml;
     
    4545    ContentBasedSearchWSProxyStub.QueryByIDResponse res = getCbsStub().queryByID(req);
    4646    return res.get_return();
    47   }
     47    }
    4848 
    4949  public static void main(String[] args)
     
    6464
    6565      if (input.contains("kmi image annotation segment to add")) {
     66    System.err.println("adding an image");
    6667        String imageLocation = inst.getImageLocation(inst.processMpeg7Input(input));
    6768   
    68     String video_endpoint = VideoSegmentation.getCbseWSEndpoint();
     69    //String video_endpoint = VideoSegmentation.getCbseWSEndpoint();
    6970
    70     ContentBasedSearchWSProxyStub cbse_stub = new ContentBasedSearchWSProxyStub(video_endpoint);
    71     inst.setCbsStub(cbse_stub);
    72         //inst.setCbsStub(new ContentBasedSearchWSProxyStub(VideoSegmentation.getCbseWSEndpoint()));
     71    //ContentBasedSearchWSProxyStub cbse_stub = new ContentBasedSearchWSProxyStub(video_endpoint);
     72    //inst.setCbsStub(cbse_stub);
     73        ////inst.setCbsStub(new ContentBasedSearchWSProxyStub(VideoSegmentation.getCbseWSEndpoint()));
    7374        inst.setVsp(new VSProcessor(VideoSegmentation.getWorkpath(), new VSVideoBean(imageLocation), inst.getCbsStub()));
    7475        inst.getVsp().processExistingKeyframes();
Note: See TracChangeset for help on using the changeset viewer.