Skip to content

Commit

Permalink
Fixes runObjectProposals function call typos in demo.m
Browse files Browse the repository at this point in the history
  • Loading branch information
abhshkdz committed May 21, 2015
1 parent 7f70c06 commit 7f68f0d
Showing 1 changed file with 16 additions and 10 deletions.
26 changes: 16 additions & 10 deletions demo.m
Expand Up @@ -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.