vivalib library
Concurrent C++11 OpenCV library for Computer Vision applications
|
#include <utils.h>
Static Public Member Functions | |
static string | tmpFilenameInFolder (const string &folder="", const string &ext=".jpg") |
static Rect | bestSquareFrom (Rect &rectangle) |
static void | saveSquaredIn (const Mat &image, string folder, int side=200) |
static void | listdir (const string &dirname, vector< string > &files, bool returnPaths=true) |
static void | listImages (const string &dirname, vector< string > &files, bool returnPaths=true) |
static bool | isDir (const string &fullpath) |
static bool | isFile (const string &fullpath) |
static void | makeDir (const string &fullpath) |
static bool | exists (const string &fullpath) |
static void | getExtension (const string &filename, string &extension) |
static void | getFilename (const string &path, string &filename) |
static void | getBasename (const string &path, string &base) |
Static Public Attributes | |
static const string | PATH_SEPARATOR |
Set of static functions related to file I/0 operations
|
static |
Checks if the fullpath exits
|
static |
Returns the basename of file in the path
|
static |
Returns the extension of the filename
|
static |
Returns the filename of file in the path
|
static |
Check if path is a directory
|
static |
Check if path is a regular file
|
static |
List directory content and returns it in a vector
|
static |
List a directory content and returns a vector of the images contined in it.
|
static |
Creates a directory in the specified path
|
static |
Returns a temporary filename inside folder
|
static |