JeVoisBase  1.16
JeVois Smart Embedded Machine Vision Toolkit Base Modules
Share this page:
jevois Namespace Reference

Namespaces

 coords
 
 details
 
 dnn
 
 engine
 
 font
 
 gui
 
 GUIhelper
 
 imu
 
 manager
 
 module
 
 python
 
 rawimage
 
 rgb565
 
 serial
 
 shader
 
 trace
 
 yuyv
 

Classes

class  BoundedBuffer
 
class  Camera
 
class  CameraDevice
 
class  Component
 
struct  DMPdata
 
class  DynamicLoader
 
class  Engine
 
class  Gadget
 
class  GPUimage
 
class  GPUprogram
 
class  GPUshader
 
class  GPUtexture
 
class  GUIconsole
 
class  GUIhelper
 
class  GUIhelperPython
 
class  ICM20948
 
class  ImGuiBackend
 
class  ImGuiImage
 
class  IMU
 
struct  IMUdata
 
class  IMUi2c
 
struct  IMUrawData
 
class  IMUspi
 
class  InputFrame
 
class  InputFramePython
 
class  JpegCompressor
 
class  Log
 
class  Manager
 
class  Module
 
class  MovieInput
 
class  MovieOutput
 
struct  ObjDetect
 
struct  ObjReco
 
class  OutputFrame
 
class  OutputFramePython
 
class  Parameter< Param, Tail ... >
 
class  ParameterBase
 
struct  ParameterCategory
 
class  ParameterCore
 
class  ParameterDef
 
class  ParameterDefBase
 
class  ParameterRegistry
 
class  ParameterSummary
 
class  Profiler
 
class  PythonModule
 
class  Range
 
class  RawImage
 
class  Semaphore
 
class  Serial
 
class  Singleton
 
class  StdioInterface
 
class  StdModule
 
class  StepRange
 
class  ThreadPool
 
class  timed_lock_guard
 
class  Timer
 
class  TimerOne
 
class  UserInterface
 
class  ValidValuesSpecBase
 
class  ValidValuesSpecList
 
class  ValidValuesSpecNone
 
class  ValidValuesSpecRange
 
class  ValidValuesSpecRegex
 
class  ValidValuesSpecStepRange
 
class  VideoBuf
 
class  VideoBuffers
 
class  VideoDisplay
 
class  VideoDisplayBackend
 
class  VideoDisplayGL
 
class  VideoDisplayGUI
 
class  VideoInput
 
class  VideoOutput
 
class  VideoOutputNone
 
class  Watchdog
 

Typedefs

typedef GUIhelper OptGUIhelper
 

Enumerations

enum  BlockingBehavior { BlockingBehavior::Block, BlockingBehavior::Throw }
 

Functions

void paramValToString (T const &val, std::string &result)
 
void paramValToString< unsigned char > (unsigned char const &val, std::string &result)
 
void paramStringToVal (std::string const &valstring, T &result)
 
void paramValToString (std::vector< Q > const &val, std::string &result)
 
void paramStringToVal (std::string const &valstring, std::vector< Q > &result)
 
void paramValToString (std::pair< F, S > const &val, std::string &result)
 
void paramStringToVal (std::string const &valstring, std::pair< F, S > &result)
 
void paramValToString (cv::Point_< T > const &val, std::string &result)
 
void paramStringToVal (std::string const &valstring, cv::Point_< T > &result)
 
void paramValToString (cv::Size_< T > const &val, std::string &result)
 
void paramStringToVal (std::string const &valstring, cv::Size_< T > &result)
 
void paramValToString (cv::Scalar_< T > const &val, std::string &result)
 
void paramStringToVal (std::string const &valstring, cv::Scalar_< T > &result)
 
void paramValToString (ImColor const &val, std::string &result)
 
void paramStringToVal (std::string const &valstring, ImColor &result)
 
void paramValToString (std::map< K, V > const &val, std::string &result)
 
void paramStringToVal (std::string const &valstring, std::map< K, V > &result)
 
void paramValToString< bool > (bool const &val, std::string &result)
 
void paramStringToVal< bool > (std::string const &valstring, bool &result)
 
void paramValToString< std::string > (std::string const &val, std::string &result)
 
void paramStringToVal< std::string > (std::string const &valstring, std::string &result)
 
 JEVOIS_DEFINE_ENUM_CLASS (CameraSensor,(any)(ov9650)(ov2640)(ov7725)(ar0135)(imx290))
 
bool sensorSupportsFormat (CameraSensor s, unsigned int fmt, unsigned int w, unsigned int h, float fps)
 
bool sensorHasIMU (CameraSensor s)
 
size_t DMPpacketSize (unsigned short ctl1, unsigned short ctl2)
 
() Scale() Crop (CropScale)) struct VideoMapping
 
void warnAndRethrowException (std::string const &prefix="")
 
std::string warnAndIgnoreException (std::string const &prefix="")
 
void drawErrorImage (std::string const &errmsg, RawImage &videoerrimg)
 
void logSetEngine (Engine *e)
 
void logEnd ()
 
std::string getPythonExceptionString (boost::python::error_already_set &)
 
std::string getSysInfoCPU ()
 
std::string getSysInfoMem ()
 
std::string getSysInfoVersion ()
 
size_t getNumInstalledTPUs ()
 
size_t getNumInstalledVPUs ()
 
size_t getNumInstalledNPUs ()
 
int getFanSpeed ()
 
std::string opengl_error (int err)
 
void convertYUYVtoYUV422 (unsigned char const *src, int width, int height, unsigned char *dst)
 
unsigned long compressBGRtoJpeg (unsigned char const *src, int width, int height, unsigned char *dst, int quality=75)
 
void compressBGRtoJpeg (cv::Mat const &src, RawImage &dst, int quality=75)
 
unsigned long compressRGBtoJpeg (unsigned char const *src, int width, int height, unsigned char *dst, int quality=75)
 
void compressRGBtoJpeg (cv::Mat const &src, RawImage &dst, int quality=75)
 
unsigned long compressRGBAtoJpeg (unsigned char const *src, int width, int height, unsigned char *dst, int quality=75)
 
void compressRGBAtoJpeg (cv::Mat const &src, RawImage &dst, int quality=75)
 
unsigned long compressGRAYtoJpeg (unsigned char const *src, int width, int height, unsigned char *dst, int quality=75)
 
void compressGRAYtoJpeg (cv::Mat const &src, RawImage &dst, int quality=75)
 
cv::Mat rescaleCv (cv::Mat const &img, cv::Size const &newdims)
 
std::future< std::invoke_result_t< std::decay_t< Function >, std::decay_t< Args >... > > async (Function &&f, Args &&... args)
 
std::future< std::invoke_result_t< std::decay_t< Function >, std::decay_t< Args >... > > async_little (Function &&f, Args &&... args)
 
bool isInputDevice (int fd)
 
int getConsoleFd ()
 
int getActiveTTY ()
 
void muteKeyboard (int tty, int &kb_mode)
 
void unMuteKeyboard (int tty, int kb_mode)
 
std::string demangle (std::string const &mangledName)
 
std::string demangle (char const *mangledName)
 
std::string demangledName ()
 
std::string demangledName< std::string > ()
 
std::string fccstr (unsigned int fcc)
 
std::string cvtypestr (unsigned int cvtype)
 
unsigned int cvBytesPerPix (unsigned int cvtype)
 
unsigned int strfcc (std::string const &str)
 
unsigned int v4l2BytesPerPix (unsigned int fcc)
 
unsigned int v4l2ImageSize (unsigned int fcc, unsigned int width, unsigned int height)
 
unsigned int blackColor (unsigned int fcc)
 
unsigned int whiteColor (unsigned int fcc)
 
void applyLetterBox (unsigned int &imw, unsigned int &imh, unsigned int const winw, unsigned int const winh, bool noalias)
 
std::vector< std::string > split (std::string const &input, std::string const &regex="\\s+")
 
std::string join (std::vector< std::string > const &strings, std::string const &delimiter)
 
bool stringStartsWith (std::string const &str, std::string const &prefix)
 
std::string replaceWhitespace (std::string const &str, char rep='_')
 
std::string strip (std::string const &str)
 
std::string extractString (std::string const &str, std::string const &startsep, std::string const &endsep)
 
size_t replaceStringFirst (std::string &str, std::string const &from, std::string const &to)
 
size_t replaceStringAll (std::string &str, std::string const &from, std::string const &to)
 
std::string absolutePath (std::string const &root, std::string const &path)
 
std::string sformat (char const *fmt,...) __attribute__((format(__printf__
 
std::string T from_string (std::string const &str)
 
std::string to_string (T const &val)
 
dest_type clamped_convert (source_type source)
 
void flushcache ()
 
std::string system (std::string const &cmd, bool errtoo=true)
 
std::string secs2str (double secs)
 
void secs2str (std::ostringstream &ss, double secs)
 
std::string getFileString (char const *fname, int skip=0)
 

Variables

int logLevel
 
int traceLevel