QuickTopic (SM) free message boards QuickTopic (SM) free message boards
Skip to Messages
  Sign In to access your topic list  |New Topic |My Topics|Profile
Upgrade to Pro   Customize, show pictures, add an intro, and more:   QuickTopic Pro...and check out QuickThreadSM
Topic: LabelMe
Views: 6337, Unique: 1852 
Subscribers: 6
What's
this?
Printer-Friendly Page
Subscribe to get & post, or stop messages by email Subscribe
All messages    << 81-96  65-80 of 133  49-64 >>
About these ads
Who | When
Messagessort recent-bottom   
Post a new message
 
 
Messages 81-77 deleted by topic administrator between 07-15-2008 04:25 AM and 05-05-2008 03:41 AM
Zurina  76
04-07-2008 07:31 AM ET (US)
Deleted by author 04-07-2008 07:35 AM
 
Messages 75-73 deleted by topic administrator between 03-26-2008 08:59 PM and 03-21-2008 09:20 AM
M. Kolsch & J. Wachs  72
03-07-2008 09:04 PM ET (US)
We succeed installing the LabelMe code in Windows.
Here is a general guideline of what we did:

1) Downloaded the Labelme code package (the authors will send that).
2) Installed "Apache" for windows
3) Installed "Active Perl"
4) Installed Cygwin
5) Make sure that all of the above (except LabelMe) works OK first.
6) We change the config file of Apache (httpd.conf) by adding the following:
------------------------------------------------------------- ------
# Added by Juan from line 194
<Directory "C:/POSTDOC/LabelMe">
 Options FollowSymLinks SymLinksIfOwnerMatch Indexes +Includes +ExecCGI
        AllowOverride AuthConfig
 AllowOverride All
 Order allow,deny
 Allow from all
</Directory>



    # Added by Juan in line 325

Alias /LabelMe/ "C:/POSTDOC/LabelMe/"

# Added and changed by Juan (line 338)
    #ScriptAlias /cgi-bin/ "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/"
    ScriptAlias /cgi-bin/ "C:/POSTDOC/LabelMe/"

# Changed line 406
    AddHandler cgi-script .cgi .pl

# Added and changed in line 417
    AddType text/html .shtml
    AddHandler server-parsed .shtml
    AddOutputFilter INCLUDES .shtml


-----------------------------------------------------

7) We added the module "mod_rewrite" to the Active Perl version.
8) We changed and added to the file "Makefile" the following:
------------------------------------------------------------- ---------
#IMAGES_DIR=/afs/csail/group/vision/www/data/LabelMe/Test/Images
#ANNOTATIONS_DIR=/afs/csail/group/vision/www/data/LabelMe/Test/Annotations

IMAGES_DIR=/cygdrive/c/POSTDOC/LabelMe/Images/
ANNOTATIONS_DIR=/cygdrive/c/POSTDOC/LabelMe/Annotations/
 
---------------------------------------------------------- --------------
9) We run the command "make" on Cygwin, under the folder "LabelMe"
10) We changed all the "#! /usr/bin/.." by "#!c:/Perl/bin/perl.exe" in all the scripts under LabelMe
11) We add/changed the scipt "fetch_image.cgi". See below all the file after the changes
-------------------------------------------------------------- ------------

#!c:/Perl/bin/perl.exe

# Get STDIN:

read(STDIN,$collection,$ENV{'CONTENT_LENGTH'});

$fname = "DirLists/$collection.txt";

# Juan add:
if(!open(xFP,$fname)) {
    print "Status: 404\n\n";
    return;
}
$numlines = 0;
@lines = readline(xFP);
foreach $i (@lines) {
    $numlines = $numlines + 1;
};
close(xFP);
# end Juan add

if(!open(FP,$fname)) {
    print "Status: 404\n\n";
    return;
}

# Juan remove:
#open(NUMLINES,"wc -l $fname |");
#$numlines = <NUMLINES>;
#($numlines,$bar) = split(" DirLists",$numlines);
#close(NUMLINES);
# end Juan remove

$line = int(rand($numlines))+1;

for($i=1; $i < $line; $i++) {
    $garbage = readline(FP);
}

$fileinfo = readline(FP);
($im_dir,$im_file) = split(",",$fileinfo);
$im_file =~ tr/"\n"//d; # remove trailing newline

close(FP);

# Send back data:
print "Content-type: text/xml\n\n" ;
print "<out><dir>$im_dir</dir><file>$im_file</file></out>";

--------------------------------------------------------- -----------

12) Last things: Open your browser (we use Firefox) and enter the following url:
http://127.0.0.1/LabelMe/tool.html

Good luck!
Thanks Antonio and the rest for this great application!
Mathias Kolsch and Juan Wachs
LabelMePerson was signed in when posted  71
03-03-2008 07:17 AM ET (US)
You may browse all of the images on LabelMe here:

http://labelme.csail.mit.edu/browseLabelMe/index.html

and then select the one you wish to label.
knz  70
02-29-2008 11:20 AM ET (US)
How do I specify which image I want to annotate with your web-based version of the LabelMe Annotation Tool?
   69
02-25-2008 10:05 AM ET (US)
Deleted by topic administrator 02-25-2008 10:14 AM
LabelMePerson was signed in when posted  68
02-23-2008 02:38 PM ET (US)
Please send me e-mail (brussell AT csail DOT mit DOT edu) to resolve this. Once we debug this, I'll post the solution on the installation instructions page.
Gyula Vörös  67
02-23-2008 02:29 PM ET (US)
Thank you for the code very much, though I cannot use it properly.

I enabled server side includes and perl scripts in Apache the following way (I use Ubuntu Linux):

Options +Includes +ExecCGI
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
AddHandler cgi-script .cgi .pl

The image appears in the annotation tool, but I am unable to draw polygons. In Firefox, at Tools->Page Info, "text/html" appears instead of "application/xhtml+xml".

I am sure that server side includes are enabled, because without them, the image does not appear at all.

Could you please help me?
LabelMe  66
02-21-2008 07:07 AM ET (US)
My apologies for not sending you the code sooner. I just sent it to you. Please let us know if you have not received it.
RSS link What's this?
All messages    << 81-96  65-80 of 133  49-64 >>
QuickTopicSM message boards
Over 200,000 topics served
Learn more Frequently asked questions  Acknowledgements
What they're saying about QuickTopic
 Questions, comments, or suggestions? Contact Us
Read our use policy before beginning. We value your privacy; please read our privacy statement.
Copyright ©1999-2008 Internicity Inc. All rights reserved.