Displaying 3 results from an estimated 3 matches for "tifftopnm".
2008 Jul 30
3
Dealing with image PDF's
...dex.cc so I
could ocr tiff and tif with gocr which seems to work. Here's what it
looks like:
// Tiff:
} else if (startswith(mimetype, "image/tif"))
{
// Inspired by http://mjr.towers.org.uk/comp/sxw2text
string safefile = shell_protect(file);
string cmd = "tifftopnm " + safefile + " | gocr -f UTF8 -";
try {
dump = stdout_to_string(cmd);
} catch (ReadError) {
cout << "\"" << cmd << "\" failed - skipping\n";
return;
}
// Tiff:End
I don't really understand...
2008 Jul 30
3
Dealing with image PDF's
...dex.cc so I
could ocr tiff and tif with gocr which seems to work. Here's what it
looks like:
// Tiff:
} else if (startswith(mimetype, "image/tif"))
{
// Inspired by http://mjr.towers.org.uk/comp/sxw2text
string safefile = shell_protect(file);
string cmd = "tifftopnm " + safefile + " | gocr -f UTF8 -";
try {
dump = stdout_to_string(cmd);
} catch (ReadError) {
cout << "\"" << cmd << "\" failed - skipping\n";
return;
}
// Tiff:End
I don't really understand...
2002 Feb 20
3
importing images
I would like to import "tif" images in R and I do not find any
function that can do that. In Matlab there exists the function "imread"
that can read the most known images format. Does a similar function
exist for R ?
Thanks in advance
--
Herve CARDOT
____________________________________________________________
Unite Biometrie et Intelligence Artificielle, INRA Toulouse
BP