JeVoisBase  1.20
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  DynamicParameter
 
struct  EditorItem
 
class  Engine
 
class  Gadget
 
class  GPUimage
 
class  GPUprogram
 
class  GPUshader
 
class  GPUtexture
 
class  GPUtextureDmaBuf
 
class  GUIconsole
 
class  GUIeditor
 
class  GUIhelper
 
class  GUIhelperPython
 
class  ICM20948
 
class  ImGuiBackend
 
class  ImGuiBackendMALI
 
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  PythonParameter
 
class  PythonWrapper
 
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  VideoDisplayBackendMALI
 
class  VideoDisplayGL
 
class  VideoDisplayGUI
 
class  VideoInput
 
class  VideoOutput
 
class  VideoOutputNone
 
class  Watchdog
 

Typedefs

typedef GUIhelper OptGUIhelper
 

Enumerations

enum  EditorSaveAction
 
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 > (ImColor const &val, std::string &result)
 
void paramStringToVal< ImColor > (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)(imx290)(os08a10)(ar0234))
 
bool sensorSupportsFormat (CameraSensor s, VideoMapping const &m)
 
bool sensorHasIMU (CameraSensor s)
 
void sensorPrepareSetFormat (CameraSensor s, VideoMapping const &m, unsigned int &capw, unsigned int &caph, int &preset)
 
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 warnAndRethrowParamCallbackException (std::string const &descriptor, std::string const &strval)
 
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 ()
 
size_t getNumInstalledSPUs ()
 
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)
 
std::vector< T > joinall (std::vector< std::future< T >> &fvec, bool multiline=true)
 
void joinall (std::vector< std::future< void >> &fvec, bool multiline=true)
 
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 replaceAll (std::string const &str, std::string const &from, std::string const &to)
 
std::string tolower (std::string const &str)
 
std::filesystem::path absolutePath (std::filesystem::path const &root, std::filesystem::path 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)
 
std::string secs2str (std::vector< double > secs)
 
void secs2str (std::ostringstream &ss, double secs)
 
std::string num2str (double n)
 
void num2str (std::ostringstream &ss, double n)
 
std::string getFileString (char const *fname, int skip=0)
 

Variables

int logLevel
 
int traceLevel