From 1015009a9012c079c61195898082f8f4838fff29 Mon Sep 17 00:00:00 2001 From: novak-99 <78002988+novak-99@users.noreply.github.com> Date: Mon, 24 May 2021 21:23:35 -0700 Subject: [PATCH] Updated Data.cpp --- MLPP/Data/Data.cpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/MLPP/Data/Data.cpp b/MLPP/Data/Data.cpp index eadc66d..a86239e 100644 --- a/MLPP/Data/Data.cpp +++ b/MLPP/Data/Data.cpp @@ -139,15 +139,6 @@ namespace MLPP{ } // Images - - void Data::getImage(std::string fileName, std::vector& image){ - std::ifstream img(fileName, std::ios::binary); - if(!img.is_open()){ - std::cout << "The file failed to open." << std::endl; - } - std::vector v{std::istreambuf_iterator{img}, {}}; - image = v; - } // TEXT-BASED & NLP std::string Data::toLower(std::string text){ @@ -564,4 +555,4 @@ namespace MLPP{ return outputSet; } -} \ No newline at end of file +}