Permalink
Browse files

Fixes `runObjectProposals` function call typos in `demo.m`

  • Loading branch information...
abhshkdz committed May 21, 2015
1 parent 7f70c06 commit 7f68f0d26fadb064a363bdcca62afd4238f12679
Showing with 16 additions and 10 deletions.
  1. +16 −10 demo.m
View
26 demo.m
@@ -5,17 +5,23 @@
end
configjson.outputLocation = fullfile(pwd, 'demo_result');
%%% proposals for al images in the imageLocation
runObjectProposal('randomPrim');
imageFile='demo_img/2007_009084.jpg';
objectProposal='randomPrim';
%%%proposals for one image
%1)
proposals=runObjectProposal('randomPrim','demo_img/2007_009084.jpg');
%%% Proposals for all images in imageLocation
%2)
im=imread('demo_img/2007_009084.jpg');
proposals=runObjectProposal('randomPrim',im);
runObjectProposals(objectProposal);
%%% certain number of proposals
% Proposals for one image
% 1)
proposals=runObjectProposal('randomPrim',im,100);
proposals=runObjectProposals(objectProposal,imageFile);
% 2)
im=imread(imageFile);
proposals=runObjectProposals(objectProposal,im);
%%% Certain number of proposals
proposals=runObjectProposals(objectProposal,im,100);

0 comments on commit 7f68f0d

Please sign in to comment.