VisionServer  v2.1.1-1-g21dc5465
FRC vision library
tfmodel.h File Reference
#include <vector>
#include <string>
#include <thread>
#include <fstream>
#include <initializer_list>
#include <tensorflow/lite/interpreter.h>
#include <tensorflow/lite/interpreter_builder.h>
#include <tensorflow/lite/model_builder.h>
#include <tensorflow/lite/kernels/register.h>
#include <edgetpu.h>
#include <opencv2/opencv.hpp>
#include "cpp-tools/src/resources.h"
#include "visionserver2.h"
+ Include dependency graph for tfmodel.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TfModel
 
struct  AxonRunner_B
 
class  AxonRunner_< derived_t >
 
struct  MoveNet_B
 
class  MoveNet_< derived_t >
 

Typedefs

typedef AxonRunner_ AxonRunner
 
typedef MoveNet_ MoveNet
 

Functions

void loadObjectLabels (const std::string &file, std::vector< std::string > &objs)
 
size_t tpusAvailable ()
 
constexpr size_t operator~ (MoveNet_B::Output e)
 

Typedef Documentation

◆ AxonRunner

Definition at line 113 of file tfmodel.h.

◆ MoveNet

typedef MoveNet_ MoveNet

Definition at line 193 of file tfmodel.h.

Function Documentation

◆ loadObjectLabels()

void loadObjectLabels ( const std::string &  file,
std::vector< std::string > &  objs 
)

Definition at line 6 of file tfmodel.cpp.

◆ tpusAvailable()

size_t tpusAvailable ( )
inline

Definition at line 23 of file tfmodel.h.

◆ operator~()

constexpr size_t operator~ ( MoveNet_B::Output  e)
inlineconstexpr

Definition at line 165 of file tfmodel.h.