Use groundtruth from testing directory

This commit is contained in:
Shreeshrii 2017-09-04 10:44:43 +05:30 committed by GitHub
parent 0ed7317c38
commit f7284569ff

View File

@ -25,7 +25,7 @@ TEST(TesseractTest, ApiExample)
{
char *outText;
std::locale loc("en_US.UTF-8"); // You can also use "" for the default system locale
std::ifstream file("testfiles/phototest.txt");
std::ifstream file("../testing/phototest.txt");
file.imbue(loc); // Use it for file input
std::string gtText((std::istreambuf_iterator<char>(file)),
std::istreambuf_iterator<char>());