File demo_run_graph_main.cc
FileList > mediapipe > demo_run_graph_main.cc
Go to the source code of this file
#include <cstdlib>
#include "absl/flags/flag.h"
#include "absl/flags/parse.h"
#include "absl/log/absl_log.h"
#include "mediapipe/framework/calculator_framework.h"
#include "mediapipe/framework/formats/image_frame.h"
#include "mediapipe/framework/formats/image_frame_opencv.h"
#include "mediapipe/framework/port/file_helpers.h"
#include "mediapipe/framework/port/opencv_highgui_inc.h"
#include "mediapipe/framework/port/opencv_imgproc_inc.h"
#include "mediapipe/framework/port/opencv_video_inc.h"
#include "mediapipe/framework/port/parse_text_proto.h"
#include "mediapipe/framework/port/status.h"
#include "mediapipe/util/resource_util.h"
Public Attributes
Type | Name |
---|---|
constexpr char | kInputStream = "input\_video" |
constexpr char | kOutputStream = "output\_video" |
constexpr char | kWindowName = "MediaPipe" |
Public Functions
Type | Name |
---|---|
ABSL_FLAG (std::string, calculator_graph_config_file, "", "Name of file containing text format CalculatorGraphConfig proto.") |
|
ABSL_FLAG (std::string, input_video_path, "", "Full path of video to load. " "If not provided, attempt to use a webcam.") |
|
ABSL_FLAG (std::string, output_video_path, "", "Full path of where to save result (.mp4 only). " "If not provided, show result in a window.") |
|
absl::Status | RunMPPGraph () |
int | main (int argc, char ** argv) |
Public Attributes Documentation
variable kInputStream
constexpr char kInputStream[];
variable kOutputStream
constexpr char kOutputStream[];
variable kWindowName
constexpr char kWindowName[];
Public Functions Documentation
function ABSL_FLAG
ABSL_FLAG (
std::string,
calculator_graph_config_file,
"",
"Name of file containing text format CalculatorGraphConfig proto."
)
function ABSL_FLAG
ABSL_FLAG (
std::string,
input_video_path,
"",
"Full path of video to load. " "If not provided,
attempt to use a webcam."
)
function ABSL_FLAG
ABSL_FLAG (
std::string,
output_video_path,
"",
"Full path of where to save result (.mp4 only). " "If not provided,
show result in a window."
)
function RunMPPGraph
absl::Status RunMPPGraph ()
function main
int main (
int argc,
char ** argv
)
The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR-plugins/hand_tracking/mediapipe/demo_run_graph_main.cc