# Turn off build breakable
FixNamespaceComments: false
ReflowComments: false
-SortIncludes: false # can break build; turning off
# Enterprise guide
# M08
#ifndef __TIZEN_MEDIAVISION_3D_H__
#define __TIZEN_MEDIAVISION_3D_H__
-#include <stdbool.h>
-#include <mv_common.h>
#include <mv_3d_type.h>
+#include <mv_common.h>
+#include <stdbool.h>
#ifdef __cplusplus
extern "C" {
#ifndef __TIZEN_MEDIAVISION_3D_PRIVATE_H__
#define __TIZEN_MEDIAVISION_3D_PRIVATE_H__
-#include <cstdio>
#include "mv_3d_type.h"
+#include <cstdio>
#ifdef MV_3D_POINTCLOUD_IS_AVAILABLE
#include <open3d/Open3D.h>
#ifndef __TIZEN_MEDIAVISION_BARCODE_H__
#define __TIZEN_MEDIAVISION_BARCODE_H__
-#include <mv_common.h>
#include <mv_barcode_detect.h>
#include <mv_barcode_generate.h>
+#include <mv_common.h>
/**
* @file mv_barcode.h
#ifndef __TIZEN_MEDIAVISION_BARCODE_DETECT_H__
#define __TIZEN_MEDIAVISION_BARCODE_DETECT_H__
-#include <mv_common.h>
#include <mv_barcode_type.h>
+#include <mv_common.h>
#ifdef __cplusplus
extern "C" {
#ifndef __TIZEN_MEDIAVISION_BARCODE_GENERATE_H__
#define __TIZEN_MEDIAVISION_BARCODE_GENERATE_H__
-#include <mv_common.h>
#include <mv_barcode_type.h>
+#include <mv_common.h>
#ifdef __cplusplus
extern "C" {
#ifndef __MEDIA_VISION_3D_H__
#define __MEDIA_VISION_3D_H__
-#include <cstddef>
-#include <glib.h>
-#include "dfs_parameter.h"
#include "dfs_adaptation_impl.h"
+#include "dfs_parameter.h"
#include "mv_3d.h"
-#include "mv_3d_type.h"
#include "mv_3d_private.h"
+#include "mv_3d_type.h"
+#include <cstddef>
+#include <glib.h>
/**
* @file Depth.h
*/
#include "mv_private.h"
-#include <mv_common.h>
#include <MediaSource.h>
#include <memory>
-#include <unistd.h>
+#include <mv_common.h>
#include <opencv2/core.hpp>
#include <opencv2/imgcodecs.hpp>
#include <opencv2/imgproc.hpp>
+#include <unistd.h>
#ifdef MV_3D_POINTCLOUD_IS_AVAILABLE
#include <open3d/Open3D.h>
* limitations under the License.
*/
-#include <new>
-#include <exception>
#include <cstddef>
+#include <exception>
+#include <new>
-#include "mv_private.h"
-#include "mv_feature_key.h"
-#include "mv_common.h"
-#include "mv_3d.h"
#include "Mv3d.h"
+#include "mv_3d.h"
+#include "mv_common.h"
+#include "mv_feature_key.h"
+#include "mv_private.h"
using namespace mediavision::mv3d;
#include <open3d/Open3D.h>
#endif
+#include "Mv3d.h"
#include "mv_3d_internal.h"
-#include "mv_private.h"
#include "mv_3d_private.h"
-#include "Mv3d.h"
+#include "mv_private.h"
#define DISTANCE_THRESHOLD 0.01
#define RANSAC_NUMBER 3
#include <system_info.h>
-#include "mv_private.h"
-#include "mv_feature_key.h"
#include "mv_barcode_detect.h"
+#include "mv_feature_key.h"
+#include "mv_private.h"
/* Include headers of open barcode detect module here. */
#include "mv_barcode_detect_open.h"
#include "Barcode.h"
#include "BarcodeUtils.h"
+#include <CommonUtils.h>
#include <mv_private.h>
-#include <vector>
#include <opencv2/core/core.hpp>
#include <opencv2/imgproc/imgproc.hpp>
+#include <vector>
#include <zbar.h>
-#include <CommonUtils.h>
using namespace MediaVision::Barcode;
#define __MEDIA_VISION_BARCODE_GENERATOR_H__
#include "BarcodeOptions.h"
-#include <zint.h>
-#include <string>
#include <EngineConfig.h>
-#include <opencv2/core/mat.hpp>
#include <mv_barcode_type.h>
+#include <opencv2/core/mat.hpp>
+#include <string>
+#include <zint.h>
/**
* @file BarcodeGenerator.h
#ifndef __MEDIA_VISION_BARCODE_GENERATE_OPEN_H__
#define __MEDIA_VISION_BARCODE_GENERATE_OPEN_H__
-#include "mv_barcode_generate.h"
#include "BarcodeGenerator.h"
+#include "mv_barcode_generate.h"
#include <zint.h>
/**
#include <zint.h>
#include <opencv2/core.hpp>
-#include <opencv2/imgproc.hpp>
#include <opencv2/highgui.hpp>
#include <opencv2/imgcodecs/legacy/constants_c.h>
+#include <opencv2/imgproc.hpp>
#include <cstring>
-#include <vector>
-#include <unistd.h>
#include <mv_barcode_generate.h>
+#include <unistd.h>
+#include <vector>
#define ZINT_COLOUR_SIZE 10
* limitations under the License.
*/
+#include "mv_barcode_generate.h"
+#include "mv_feature_key.h"
+#include "mv_private.h"
#include <string>
#include <system_info.h>
#include <zint.h>
-#include "mv_private.h"
-#include "mv_feature_key.h"
-#include "mv_barcode_generate.h"
/* Include headers of open barcode generate module here. */
#include "mv_barcode_generate_open.h"
#include "mv_barcode_generate_open.h"
-#include "mv_common.h"
#include "BarcodeGenerator.h"
+#include "mv_common.h"
#include <mv_private.h>
#ifndef __MEDIA_VISION_ENGINE_CONFIG_H__
#define __MEDIA_VISION_ENGINE_CONFIG_H__
-#include <string>
#include <map>
+#include <string>
#include <vector>
#include "mv_common.h"
extern "C" {
#endif /* __cplusplus */
-#include <stdbool.h>
#include <dlog.h>
+#include <stdbool.h>
#ifdef LOG_TAG
#undef LOG_TAG
* limitations under the License.
*/
-#include <new>
#include <memory>
-#include <string.h>
-#include <stdlib.h>
+#include <new>
#include <stdexcept>
+#include <stdlib.h>
+#include <string.h>
+#include "mv_feature_key.h"
#include <media_packet.h>
#include <mv_common.h>
#include <mv_common_internal.h>
#include <mv_private.h>
-#include "mv_feature_key.h"
-#include "MediaSource.h"
#include "EngineConfig.h"
+#include "MediaSource.h"
static const char *feature_keys[] = {
"http://tizen.org/feature/vision.barcode_detection", "http://tizen.org/feature/vision.barcode_generation",
#define __MEDIA_VISION_FACE_DETECTOR_H__
#include <opencv2/objdetect.hpp>
-#include <vector>
#include <string>
+#include <vector>
/**
* @file FaceDetector.h
#include <opencv2/imgproc.hpp>
#include <cstring>
-#include <vector>
#include <set>
+#include <vector>
/**
* @file FaceRecognitionModel.h
#ifndef __MEDIA_VISION_FACE_TRACKING_MODEL_H__
#define __MEDIA_VISION_FACE_TRACKING_MODEL_H__
-#include <opencv2/core.hpp>
#include "FaceTracker.h"
+#include <opencv2/core.hpp>
/**
* @file FaceTrackingModel.h
#include <mv_private.h>
-#include <vector>
#include <opencv2/imgproc/imgproc_c.h>
+#include <vector>
namespace MediaVision
{
#include "FaceRecognitionModel.h"
-#include "mv_private.h"
#include "mv_common.h"
+#include "mv_private.h"
#include <map>
+#include <fstream>
#include <stdio.h>
#include <unistd.h>
-#include <fstream>
namespace MediaVision
{
#include "FaceTracker.h"
-#include "opencv2/video/tracking.hpp"
#include "opencv2/imgproc.hpp"
+#include "opencv2/video/tracking.hpp"
#include <algorithm>
#include <cmath>
#include "FaceTrackingModel.h"
-#include "mv_private.h"
#include "mv_common.h"
+#include "mv_private.h"
#include <unistd.h>
* limitations under the License.
*/
-#include "mv_private.h"
-#include "mv_feature_key.h"
#include "mv_face.h"
#include "mv_face_open.h"
+#include "mv_feature_key.h"
+#include "mv_private.h"
/**
* @file mv_face.c
#include "mv_face_open.h"
#include "FaceDetector.h"
-#include "FaceUtil.h"
+#include "FaceExpressionRecognizer.h"
+#include "FaceEyeCondition.h"
#include "FaceRecognitionModel.h"
#include "FaceTrackingModel.h"
-#include "FaceEyeCondition.h"
-#include "FaceExpressionRecognizer.h"
+#include "FaceUtil.h"
#include "mv_private.h"
-#include <vector>
-#include <set>
#include <cstring>
+#include <set>
+#include <vector>
#include <CommonUtils.h>
#ifndef __MEDIA_VISION_FEATUREPACK_H__
#define __MEDIA_VISION_FEATUREPACK_H__
-#include "mv_private.h"
#include "ImageConfig.h"
+#include "mv_private.h"
-#include <vector>
+#include <opencv2/calib3d.hpp>
#include <opencv2/core.hpp>
-#include <opencv2/imgproc.hpp>
#include <opencv2/features2d.hpp>
+#include <opencv2/imgproc.hpp>
#include <opencv2/xfeatures2d.hpp>
-#include <opencv2/calib3d.hpp>
+#include <vector>
namespace MediaVision
{
#ifndef __MEDIA_VISION_IMAGERECOGNIZER_H__
#define __MEDIA_VISION_IMAGERECOGNIZER_H__
-#include "ImageMathUtil.h"
#include "ImageConfig.h"
+#include "ImageMathUtil.h"
#include "Recognition/ImageObject.h"
#ifndef __MEDIA_VISION_IMAGECONTOURSTABILIZATOR_H__
#define __MEDIA_VISION_IMAGECONTOURSTABILIZATOR_H__
-#include <deque>
#include "ImageConfig.h"
+#include <deque>
/**
* @file ImageContourStabilizator.h
#include "Recognition/ImageObject.h"
-#include "Tracking/ObjectTracker.h"
#include "Tracking/ImageContourStabilizator.h"
+#include "Tracking/ObjectTracker.h"
/**
* @file ImageTrackingModel.h
#include "ImageMathUtil.h"
-#include <opencv2/core.hpp>
#include <opencv2/calib3d/calib3d_c.h>
+#include <opencv2/core.hpp>
namespace MediaVision
{
#include "ImageMathUtil.h"
-#include "Features/FeatureExtractor.h"
#include "Features/BasicExtractorFactory.h"
+#include "Features/FeatureExtractor.h"
#include "Features/ORBExtractorFactory.h"
-#include "mv_private.h"
#include "mv_common.h"
+#include "mv_private.h"
#include <opencv2/features2d.hpp>
#include <fstream>
-#include <unistd.h>
#include <iomanip>
+#include <unistd.h>
namespace MediaVision
{
#include "Tracking/ImageTrackingModel.h"
+#include "Tracking/AsyncTracker.h"
#include "Tracking/CascadeTracker.h"
-#include "Tracking/RecognitionBasedTracker.h"
#include "Tracking/FeatureSubstitutionTracker.h"
-#include "Tracking/AsyncTracker.h"
#include "Tracking/MFTracker.h"
+#include "Tracking/RecognitionBasedTracker.h"
-#include "mv_private.h"
#include "mv_common.h"
+#include "mv_private.h"
#include <fstream>
-#include <unistd.h>
-#include <new>
#include <iomanip>
+#include <new>
+#include <unistd.h>
namespace MediaVision
{
#include "Tracking/MFTracker.h"
-#include "opencv2/video/tracking.hpp"
#include "opencv2/imgproc.hpp"
+#include "opencv2/video/tracking.hpp"
namespace MediaVision
{
* limitations under the License.
*/
-#include "mv_private.h"
-#include "mv_feature_key.h"
#include "mv_image.h"
+#include "mv_feature_key.h"
#include "mv_image_open.h"
+#include "mv_private.h"
/**
* @file mv_image.c
#include "mv_image_open.h"
-#include "mv_private.h"
#include "mv_common.h"
+#include "mv_private.h"
-#include "ImageConfig.h"
#include "Features/FeatureExtractor.h"
#include "Features/ORBExtractorFactory.h"
+#include "ImageConfig.h"
#include "Recognition/ImageObject.h"
#include "Recognition/ImageRecognizer.h"
#include "Tracking/ImageTrackingModel.h"
#ifndef __ASYNC_MANAGER_H__
#define __ASYNC_MANAGER_H__
-#include <queue>
-#include <thread>
-#include <mutex>
-#include <condition_variable>
-#include <atomic>
-#include <functional>
#include <algorithm>
+#include <atomic>
#include <chrono>
+#include <condition_variable>
+#include <functional>
+#include <mutex>
+#include <queue>
+#include <thread>
+#include "MvMlException.h"
#include <mv_common.h>
#include <mv_inference_type.h>
-#include "MvMlException.h"
#ifdef LOG_TAG
#undef LOG_TAG
#ifndef __CONTEXT_H__
#define __CONTEXT_H__
-#include <map>
#include "ITask.h"
+#include <map>
namespace mediavision
{
#ifndef __MV_ML_CONFIG_H__
#define __MV_ML_CONFIG_H__
-#include <mv_common.h>
-#include "mv_private.h"
#include "EngineConfig.h"
+#include "mv_private.h"
+#include <mv_common.h>
#include "MetaParser.h"
#ifndef __COMMON_H__
#define __COMMON_H__
+#include <map>
#include <string>
#include <vector>
-#include <map>
#include "mv_inference_type.h"
#include "Context.h"
#include "ITask.h"
-#include "mv_private.h"
#include "mv_ml_types.h"
+#include "mv_private.h"
namespace mediavision
{
#ifndef __ANCHOR_PARSER_H__
#define __ANCHOR_PARSER_H__
-#include <string>
#include <memory>
+#include <string>
#include <vector>
#include <json-glib/json-glib.h>
-#include <dlog.h>
-#include "mv_private.h"
#include "mv_common.h"
+#include "mv_private.h"
+#include <dlog.h>
#include "types.h"
#ifndef __META_PARSER_H__
#define __META_PARSER_H__
-#include <string>
+#include "types.h"
+#include <dlog.h>
+#include <json-glib/json-glib.h>
#include <memory>
#include <mv_common.h>
#include <mv_private.h>
-#include <json-glib/json-glib.h>
-#include <dlog.h>
-#include "types.h"
+#include <string>
namespace mediavision
{
#ifndef __MV_ML_PREPROCESS_H__
#define __MV_ML_PREPROCESS_H__
-#include <string>
#include <map>
#include <memory>
+#include <string>
#include <vector>
#include <inference_engine_type.h>
#ifndef __POSTPROCESS_PARSER_H__
#define __POSTPROCESS_PARSER_H__
-#include <string>
#include <map>
#include <memory>
+#include <string>
#include <vector>
-#include <dlog.h>
-#include "mv_private.h"
#include "mv_common.h"
+#include "mv_private.h"
+#include <dlog.h>
+#include "AnchorParser.h"
#include "MetaParser.h"
#include "types.h"
-#include "AnchorParser.h"
namespace mediavision
{
#ifndef __COMMON_H__
#define __COMMON_H__
-#include <string>
-#include <mv_common.h>
-#include <mv_private.h>
-#include <json-glib/json-glib.h>
-#include <inference_engine_type.h>
-#include <dlog.h>
#include "MvMlException.h"
#include "mv_inference_type.h"
#include "types.h"
+#include <dlog.h>
+#include <inference_engine_type.h>
+#include <json-glib/json-glib.h>
+#include <mv_common.h>
+#include <mv_private.h>
+#include <string>
namespace mediavision
{
#ifndef __TYPES_H__
#define __TYPES_H__
-#include <string>
#include <map>
#include <memory>
#include <opencv2/core/types.hpp>
+#include <string>
#include <inference_engine_type.h>
#include <mv_inference_type.h>
* limitations under the License.
*/
-#include <unistd.h>
-#include <fstream>
#include <algorithm>
+#include <fstream>
+#include <unistd.h>
-#include "MvMlException.h"
#include "MetaParser.h"
+#include "MvMlException.h"
#include "meta_common.h"
using namespace std;
* limitations under the License.
*/
-#include <unistd.h>
-#include <fstream>
-#include <string>
-#include <queue>
-#include <algorithm>
-#include "mv_private.h"
#include "MvMlPreprocess.h"
#include "MvMlException.h"
+#include "mv_private.h"
+#include <algorithm>
+#include <fstream>
+#include <queue>
+#include <string>
+#include <unistd.h>
constexpr int colorConvertTable[][12] = {
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
#include <cmath>
-#include "mv_private.h"
#include "Postprocess.h"
+#include "mv_private.h"
using namespace std;
* limitations under the License.
*/
-#include <unistd.h>
-#include <string>
-#include <queue>
-#include <algorithm>
-#include "MvMlException.h"
#include "PostprocessParser.h"
+#include "MvMlException.h"
#include "meta_common.h"
+#include <algorithm>
+#include <queue>
+#include <string>
+#include <unistd.h>
using namespace std;
using namespace mediavision::machine_learning::exception;
* limitations under the License.
*/
-#include "MvMlException.h"
#include "MvMlConfig.h"
+#include "MvMlException.h"
#include "keys.h"
using namespace std;
#include "mv_private.h"
-#include "native_capi.h"
#include "MvMlException.h"
+#include "native_capi.h"
using namespace std;
using namespace mediavision::common;
#ifndef __FACE_RECOGNITION_H__
#define __FACE_RECOGNITION_H__
-#include <unordered_map>
#include <mv_common.h>
#include <mv_inference_type.h>
+#include <unordered_map>
-#include "training_engine_error.h"
-#include "training_engine_common_impl.h"
-#include "inference_engine_common_impl.h"
-#include "mv_ml_types.h"
+#include "DataSetManager.h"
+#include "FeatureVectorManager.h"
#include "Inference.h"
#include "LabelManager.h"
-#include "FeatureVectorManager.h"
-#include "DataSetManager.h"
#include "SimpleShot.h"
+#include "inference_engine_common_impl.h"
+#include "mv_ml_types.h"
+#include "training_engine_common_impl.h"
+#include "training_engine_error.h"
namespace mediavision
{
#include <dlog.h>
#include "EngineConfig.h"
-#include "ITask.h"
#include "FaceRecognition.h"
+#include "ITask.h"
namespace mediavision
{
#include <string>
-#include "FeatureVectorManager.h"
#include "DataSetManager.h"
+#include "FeatureVectorManager.h"
class FaceRecognitionDSM : public DataSetManager
{
#include <mv_inference_type.h>
#include "EngineConfig.h"
-#include "inference_engine_common_impl.h"
-#include "Inference.h"
#include "FacenetParser.h"
-#include "face_recognition_type.h"
+#include "Inference.h"
#include "MvMlPreprocess.h"
+#include "face_recognition_type.h"
+#include "inference_engine_common_impl.h"
#include "mv_ml_types.h"
namespace mediavision
#include <dlog.h>
#include "EngineConfig.h"
+#include "Facenet.h"
#include "ITask.h"
#include "mv_ml_types.h"
-#include "Facenet.h"
namespace mediavision
{
#ifndef __SIMPLE_SHOT_H__
#define __SIMPLE_SHOT_H__
-#include <mv_inference_type.h>
#include "TrainingModel.h"
+#include <mv_inference_type.h>
class SimpleShot : public TrainingModel
{
* limitations under the License.
*/
-#include <string.h>
+#include <algorithm>
#include <fstream>
#include <istream>
-#include <tuple>
#include <map>
-#include <algorithm>
+#include <string.h>
+#include <tuple>
#include <sys/stat.h>
#include <mv_common.h>
#include <mv_private.h>
-#include "MvMlException.h"
-#include "TensorBuffer.h"
#include "FaceRecognition.h"
-#include "FaceRecognitionFVM.h"
#include "FaceRecognitionDSM.h"
+#include "FaceRecognitionFVM.h"
+#include "MvMlException.h"
+#include "TensorBuffer.h"
#include "file_util.h"
using namespace std;
* limitations under the License.
*/
-#include "MvMlException.h"
#include "FaceRecognitionAdapter.h"
+#include "MvMlException.h"
#include "face_recognition_type.h"
#include <app_common.h>
* limitations under the License.
*/
+#include <algorithm>
#include <dlog.h>
#include <mv_private.h>
-#include <algorithm>
-#include "MvMlException.h"
#include "FaceRecognitionDSM.h"
+#include "MvMlException.h"
#define MAX_FEATURE_VECTOR_CNT 5
#define MAX_FEATURE_SIZE 1024
#include <fstream>
#include <unistd.h>
-#include "MvMlException.h"
#include "FaceRecognitionFVM.h"
+#include "MvMlException.h"
using namespace std;
using namespace mediavision::machine_learning::exception;
* limitations under the License.
*/
-#include <string.h>
+#include <algorithm>
#include <map>
#include <memory>
-#include <algorithm>
+#include <string.h>
-#include "MvMlException.h"
#include "Facenet.h"
+#include "MvMlException.h"
#include "face_recognition_type.h"
using namespace std;
* limitations under the License.
*/
-#include "MvMlException.h"
#include "FacenetAdapter.h"
+#include "MvMlException.h"
using namespace std;
using namespace MediaVision::Common;
* limitations under the License.
*/
-#include "MvMlException.h"
#include "FacenetParser.h"
+#include "MvMlException.h"
using namespace std;
using namespace mediavision::machine_learning::exception;
#include <memory>
#include <mutex>
-#include "mv_private.h"
-#include "mv_feature_key.h"
#include "Context.h"
-#include "MvMlException.h"
#include "FaceRecognitionAdapter.h"
#include "FacenetAdapter.h"
-#include "native_capi.h"
+#include "MvMlException.h"
#include "mv_face_recognition.h"
#include "mv_face_recognition_internal.h"
+#include "mv_feature_key.h"
+#include "mv_private.h"
+#include "native_capi.h"
using namespace std;
using namespace mediavision::common;
* limitations under the License.
*/
-#include <string.h>
+#include <algorithm>
#include <fstream>
#include <istream>
-#include <tuple>
#include <map>
-#include <algorithm>
+#include <string.h>
+#include <tuple>
#include <sys/stat.h>
-#include "MvMlException.h"
-#include "SimpleShot.h"
#include "DataSetManager.h"
#include "FeatureVectorManager.h"
+#include "MvMlException.h"
+#include "SimpleShot.h"
#include "file_util.h"
using namespace std;
#ifndef __IMAGE_CLASSIFICATION_H__
#define __IMAGE_CLASSIFICATION_H__
+#include "mv_private.h"
#include <mv_common.h>
#include <mv_inference_type.h>
-#include "mv_private.h"
+#include "AsyncManager.h"
#include "EngineConfig.h"
-#include "inference_engine_common_impl.h"
+#include "IImageClassification.h"
+#include "ImageClassificationParser.h"
#include "Inference.h"
-#include "image_classification_type.h"
#include "MetaParser.h"
#include "MvMlConfig.h"
-#include "ImageClassificationParser.h"
#include "MvMlPreprocess.h"
-#include "AsyncManager.h"
-#include "IImageClassification.h"
+#include "image_classification_type.h"
+#include "inference_engine_common_impl.h"
namespace mediavision
{
#include <dlog.h>
#include "EngineConfig.h"
+#include "IImageClassification.h"
#include "ITask.h"
-#include "MvMlConfig.h"
#include "ImageClassificationDefault.h"
-#include "IImageClassification.h"
+#include "MvMlConfig.h"
namespace mediavision
{
#ifndef __IMAGE_CLASSIFICATION_FLOAT_H__
#define __IMAGE_CLASSIFICATION_FLOAT_H__
+#include "mv_private.h"
#include <memory>
#include <mv_common.h>
-#include "mv_private.h"
+#include "EngineConfig.h"
#include "ImageClassification.h"
#include <mv_inference_type.h>
-#include "EngineConfig.h"
namespace mediavision
{
#include <string>
+#include "mv_ml_types.h"
#include <mv_common.h>
#include <mv_inference_type.h>
-#include "mv_ml_types.h"
namespace mediavision
{
* limitations under the License.
*/
-#include <string.h>
+#include <algorithm>
#include <fstream>
#include <map>
#include <memory>
-#include <algorithm>
+#include <string.h>
+#include "ImageClassification.h"
#include "MvMlException.h"
#include "common.h"
#include "mv_image_classification_config.h"
-#include "ImageClassification.h"
using namespace std;
using namespace mediavision::inference;
#include <string>
+#include "ImageClassificationAdapter.h"
#include "MvMlException.h"
#include "mv_image_classification_config.h"
-#include "ImageClassificationAdapter.h"
using namespace std;
using namespace MediaVision::Common;
* limitations under the License.
*/
-#include <string.h>
+#include <algorithm>
#include <map>
#include <set>
-#include <algorithm>
+#include <string.h>
-#include "MvMlException.h"
#include "ImageClassificationDefault.h"
+#include "MvMlException.h"
#include "Postprocess.h"
using namespace std;
* limitations under the License.
*/
-#include "MvMlException.h"
#include "ImageClassificationParser.h"
+#include "MvMlException.h"
using namespace std;
using namespace mediavision::machine_learning::exception;
* limitations under the License.
*/
-#include "mv_private.h"
-#include "mv_feature_key.h"
+#include "Context.h"
#include "ITask.h"
-#include "mv_image_classification_internal.h"
#include "ImageClassificationAdapter.h"
#include "MvMlException.h"
-#include "native_capi.h"
#include "image_classification_type.h"
-#include "Context.h"
+#include "mv_feature_key.h"
+#include "mv_image_classification_internal.h"
+#include "mv_private.h"
+#include "native_capi.h"
+#include <algorithm>
#include <new>
-#include <unistd.h>
#include <string>
-#include <algorithm>
+#include <unistd.h>
#define TASK_NAME "image_classification"
#ifndef __IMAGE_SEGMENTATION_H__
#define __IMAGE_SEGMENTATION_H__
+#include <atomic>
+#include <mutex>
#include <queue>
#include <thread>
-#include <mutex>
-#include <atomic>
+#include "mv_private.h"
#include <mv_common.h>
#include <mv_inference_type.h>
-#include "mv_private.h"
+#include "AsyncManager.h"
#include "EngineConfig.h"
-#include "inference_engine_common_impl.h"
+#include "IImageSegmentation.h"
+#include "ImageSegmentationParser.h"
#include "Inference.h"
-#include "image_segmentation_type.h"
#include "MetaParser.h"
#include "MvMlConfig.h"
-#include "ImageSegmentationParser.h"
#include "MvMlPreprocess.h"
-#include "IImageSegmentation.h"
-#include "AsyncManager.h"
+#include "image_segmentation_type.h"
+#include "inference_engine_common_impl.h"
namespace mediavision
{
#include <dlog.h>
#include "EngineConfig.h"
+#include "IImageSegmentation.h"
#include "ITask.h"
#include "ImageSegmentation.h"
-#include "IImageSegmentation.h"
namespace mediavision
{
#include <opencv2/core.hpp>
#include <opencv2/imgproc.hpp>
-#include "image_segmentation_type.h"
#include "IImageSegmentation.h"
+#include "image_segmentation_type.h"
namespace mediavision
{
#include <opencv2/core.hpp>
+#include "mv_ml_types.h"
#include <mv_common.h>
#include <mv_inference_type.h>
-#include "mv_ml_types.h"
namespace mediavision
{
* limitations under the License.
*/
-#include <string.h>
#include <fstream>
#include <map>
#include <memory>
+#include <string.h>
+#include "ImageSegmentation.h"
#include "MvMlException.h"
#include "common.h"
#include "mv_image_segmentation_config.h"
-#include "ImageSegmentation.h"
using namespace std;
using namespace mediavision::inference;
* limitations under the License.
*/
-#include "MvMlException.h"
#include "ImageSegmentationAdapter.h"
#include "ImageSegmentationExternal.h"
+#include "MvMlException.h"
#include "mv_image_segmentation_config.h"
using namespace std;
#include "mv_private.h"
-#include "MvMlException.h"
#include "ImageSegmentationExternal.h"
+#include "MvMlException.h"
using namespace std;
using namespace mediavision::machine_learning::exception;
*/
#include <memory>
-#include "MvMlException.h"
#include "ImageSegmentationParser.h"
+#include "MvMlException.h"
#include "image_segmentation_type.h"
using namespace std;
* limitations under the License.
*/
-#include "mv_private.h"
-#include "mv_feature_key.h"
+#include "Context.h"
#include "ITask.h"
-#include "mv_selfie_segmentation_type.h"
-#include "mv_selfie_segmentation_internal.h"
#include "ImageSegmentationAdapter.h"
#include "MvMlException.h"
-#include "native_capi.h"
#include "image_segmentation_type.h"
-#include "Context.h"
+#include "mv_feature_key.h"
+#include "mv_private.h"
+#include "mv_selfie_segmentation_internal.h"
+#include "mv_selfie_segmentation_type.h"
+#include "native_capi.h"
-#include <new>
-#include <unistd.h>
-#include <string>
#include <algorithm>
-#include <mutex>
#include <iostream>
+#include <mutex>
+#include <new>
+#include <string>
+#include <unistd.h>
#define TASK_NAME "selfie_segmentation"
#ifndef __BOX_INFO_H__
#define __BOX_INFO_H__
-#include <string>
-#include <vector>
#include <map>
#include <memory>
+#include <string>
+#include <vector>
+#include <inference_engine_type.h>
#include <json-glib/json-glib.h>
#include <mv_inference_type.h>
-#include <inference_engine_type.h>
#include "DecodeInfo.h"
#include "DimInfo.h"
#ifndef __MEDIA_VISION_BVH_H__
#define __MEDIA_VISION_BVH_H__
-#include <opencv2/core.hpp>
-#include <opencv2/imgproc.hpp>
#include "Joint.h"
#include <memory>
+#include <opencv2/core.hpp>
+#include <opencv2/imgproc.hpp>
#include <vector>
namespace mediavision
#ifndef __DECODE_INFO_H__
#define __DECODE_INFO_H__
-#include <string>
-#include <vector>
#include <map>
#include <memory>
+#include <string>
+#include <vector>
+#include "Utils.h"
#include <MetadataType.h>
#include <mv_inference_type.h>
#include <opencv2/core.hpp>
-#include "Utils.h"
namespace mediavision
{
#ifndef __DIM_INFO_H__
#define __DIM_INFO_H__
-#include <vector>
#include <dlog.h>
+#include <vector>
namespace mediavision
{
#ifndef __DISP_VEC_H__
#define __DISP_VEC_H__
-#include "MetadataType.h"
#include "DimInfo.h"
+#include "MetadataType.h"
#include "Utils.h"
#include <mv_inference_type.h>
-#include <string>
-#include <vector>
#include <map>
#include <memory>
+#include <string>
+#include <vector>
namespace mediavision
{
#ifndef __MEDIA_VISION_INFERENCE_H__
#define __MEDIA_VISION_INFERENCE_H__
-#include <string>
#include <map>
#include <memory>
+#include <string>
-#include "mv_common.h"
-#include "inference_engine_error.h"
+#include "MetaParser.h"
+#include "Metadata.h"
+#include "PostProcess.h"
+#include "PreProcess.h"
+#include "TensorBuffer.h"
#include "inference_engine_common_impl.h"
+#include "inference_engine_error.h"
+#include "mv_common.h"
#include "mv_inference_private.h"
+#include "types.h"
#include <mv_inference_type.h>
#include <opencv2/core.hpp>
#include <opencv2/imgproc.hpp>
-#include "types.h"
-#include "Metadata.h"
-#include "MetaParser.h"
-#include "PreProcess.h"
-#include "PostProcess.h"
-#include "TensorBuffer.h"
#include "Landmark.h"
#ifndef __MEDIA_VISION_INFERENCE_INI_H__
#define __MEDIA_VISION_INFERENCE_INI_H__
+#include <mv_inference_type.h>
#include <string>
#include <vector>
-#include <mv_inference_type.h>
namespace mediavision
{
#ifndef __MEDIA_VISION_INPUTMETADATA_H__
#define __MEDIA_VISION_INPUTMETADATA_H__
+#include <map>
#include <string>
#include <vector>
-#include <map>
#include "MetadataType.h"
#include <inference_engine_type.h>
#ifndef __MEDIA_VISION_JOINT_H__
#define __MEDIA_VISION_JOINT_H__
-#include <opencv2/core.hpp>
#include <memory>
+#include <opencv2/core.hpp>
#include <string>
#include <vector>
#ifndef __LABEL_INFO_H__
#define __LABEL_INFO_H__
-#include <string>
-#include <vector>
#include <map>
#include <memory>
+#include <string>
+#include <vector>
+#include <inference_engine_type.h>
#include <json-glib/json-glib.h>
#include <mv_inference_type.h>
-#include <inference_engine_type.h>
#include "DecodeInfo.h"
#include "DimInfo.h"
#ifndef __LANDMARK_H__
#define __LANDMARK_H__
-#include "Edge.h"
#include "DimInfo.h"
#include "DispVec.h"
+#include "Edge.h"
#include "Utils.h"
-#include <opencv2/core.hpp>
#include <json-glib/json-glib.h>
+#include <opencv2/core.hpp>
+#include <map>
#include <string>
#include <vector>
-#include <map>
/**
* @file Landmark.h
#ifndef __MEDIA_VISION_METADATA_H__
#define __MEDIA_VISION_METADATA_H__
-#include <string>
#include <map>
+#include <string>
-#include "mv_common.h"
-#include "mv_inference_private.h"
-#include <mv_inference_type.h>
#include "InputMetadata.h"
#include "OutputMetadata.h"
+#include "mv_common.h"
+#include "mv_inference_private.h"
#include <json-glib/json-glib.h>
+#include <mv_inference_type.h>
/**
* @file Metadata.h
#ifndef __MEDIA_VISION_OUTPUTMETADATA_TYPES_H__
#define __MEDIA_VISION_OUTPUTMETADATA_TYPES_H__
+#include <inference_engine_type.h>
#include <mv_common.h>
#include <mv_inference_type.h>
-#include <inference_engine_type.h>
/**
* @file OutputMetadataTypes.h
#ifndef __NUMBER_INFO_H__
#define __NUMBER_INFO_H__
-#include <string>
-#include <vector>
#include <map>
#include <memory>
+#include <string>
+#include <vector>
+#include <inference_engine_type.h>
#include <json-glib/json-glib.h>
#include <mv_inference_type.h>
-#include <inference_engine_type.h>
#include "DecodeInfo.h"
#include "DimInfo.h"
#ifndef __MEDIA_VISION_OBJECTDECODER_H__
#define __MEDIA_VISION_OBJECTDECODER_H__
-#include <string>
-#include <vector>
-#include <map>
#include <list>
+#include <map>
#include <opencv2/core.hpp>
+#include <string>
+#include <vector>
-#include "TensorBuffer.h"
#include "OutputMetadata.h"
#include "PostProcess.h"
+#include "TensorBuffer.h"
/**
* @file ObjectDecoder.h
#ifndef __OFFSET_VEC_H__
#define __OFFSET_VEC_H__
+#include <memory>
#include <string>
#include <vector>
-#include <memory>
-#include <mv_inference_type.h>
#include "DimInfo.h"
#include "Utils.h"
+#include <mv_inference_type.h>
namespace mediavision
{
#ifndef __MEDIA_VISION_OUTPUTMETADATA_H__
#define __MEDIA_VISION_OUTPUTMETADATA_H__
-#include <string>
-#include <vector>
#include <map>
#include <memory>
+#include <string>
+#include <vector>
-#include <mv_inference_type.h>
-#include <inference_engine_type.h>
-#include <json-glib/json-glib.h>
-#include <opencv2/core.hpp>
-#include "MetadataType.h"
+#include "BoxInfo.h"
#include "DecodeInfo.h"
-#include "Edge.h"
-#include "DispVec.h"
#include "DimInfo.h"
-#include "OffsetVec.h"
-#include "Landmark.h"
-#include "BoxInfo.h"
+#include "DispVec.h"
+#include "Edge.h"
#include "LabelInfo.h"
+#include "Landmark.h"
+#include "MetadataType.h"
#include "NumberInfo.h"
+#include "OffsetVec.h"
#include "ScoreInfo.h"
+#include <inference_engine_type.h>
+#include <json-glib/json-glib.h>
+#include <mv_inference_type.h>
+#include <opencv2/core.hpp>
/**
* @file OutputMetadata.h
#ifndef __MEDIA_VISION_POSEDECODER_H__
#define __MEDIA_VISION_POSEDECODER_H__
+#include <list>
+#include <map>
#include <string>
#include <vector>
-#include <map>
-#include <list>
-#include "TensorBuffer.h"
-#include "OutputMetadata.h"
#include "Landmark.h"
+#include "OutputMetadata.h"
+#include "TensorBuffer.h"
/**
* @file PoseDecoder.h
#ifndef __MEDIA_VISION_POSTPROCESS_H__
#define __MEDIA_VISION_POSTPROCESS_H__
-#include <string>
#include <map>
#include <queue>
+#include <string>
-#include "mv_common.h"
#include "OutputMetadata.h"
+#include "mv_common.h"
#include <opencv2/core.hpp>
#include <opencv2/imgproc.hpp>
#ifndef __MEDIA_VISION_POSE_H__
#define __MEDIA_VISION_POSE_H__
-#include <string>
#include <map>
+#include <string>
-#include "mv_common.h"
-#include "Inference.h"
#include "Bvh.h"
#include "BvhParser.h"
+#include "Inference.h"
+#include "mv_common.h"
#include <mv_inference_type.h>
#include <opencv2/core.hpp>
#include <opencv2/imgproc.hpp>
#ifndef __MEDIA_VISION_PREPROCESS_H__
#define __MEDIA_VISION_PREPROCESS_H__
-#include <string>
#include <map>
+#include <string>
-#include "mv_common.h"
#include "InputMetadata.h"
+#include "mv_common.h"
#include <opencv2/core.hpp>
#include <opencv2/imgproc.hpp>
#ifndef __SCORE_INFO_H__
#define __SCORE_INFO_H__
-#include <string>
-#include <vector>
#include <map>
#include <memory>
+#include <string>
+#include <vector>
-#include <mv_inference_type.h>
-#include <mv_private.h>
-#include <MetadataType.h>
#include "DimInfo.h"
#include "Utils.h"
+#include <MetadataType.h>
+#include <mv_inference_type.h>
+#include <mv_private.h>
namespace mediavision
{
#ifndef __MEDIA_VISION_TENSORBUFFER_H__
#define __MEDIA_VISION_TENSORBUFFER_H__
-#include <string>
-#include <map>
-#include <variant>
#include "mv_common.h"
#include "mv_inference_private.h"
#include <inference_engine_type.h>
+#include <map>
#include <mv_inference_type.h>
+#include <string>
+#include <variant>
/**
* @file TensorBuffer.h
#ifndef __UTILS_H__
#define __UTILS_H__
-#include <string>
-#include <vector>
#include <map>
#include <memory>
+#include <string>
+#include <vector>
+#include <dlog.h>
#include <json-glib/json-glib.h>
#include <stdexcept>
-#include <dlog.h>
namespace mediavision
{
#include "BvhParser.h"
#include "mv_private.h"
-#include <iostream>
#include <fstream>
+#include <iostream>
#include <sstream>
#include <string>
* limitations under the License.
*/
-#include <mv_private.h>
#include <DecodeInfo.h>
#include <Utils.h>
+#include <mv_private.h>
using namespace mediavision::inference;
using namespace mediavision::inference::box;
* limitations under the License.
*/
-#include "mv_private.h"
#include "Inference.h"
#include "InferenceIni.h"
#include "ObjectDecoder.h"
#include "PoseDecoder.h"
+#include "mv_private.h"
#include "util.h"
-#include <map>
#include <list>
+#include <map>
-#include <unistd.h>
+#include <algorithm>
#include <fstream>
-#include <string>
#include <queue>
-#include <algorithm>
+#include <string>
+#include <unistd.h>
#define MV_INFERENCE_OUTPUT_NUMBERS_MAX 10
#define MV_INFERENCE_OUTPUT_NUMBERS_MIN 1
*/
#include <iniparser.h>
-#include <unistd.h>
#include <map>
+#include <unistd.h>
-#include "mv_private.h"
#include "InferenceIni.h"
+#include "mv_private.h"
namespace mediavision
{
#include "mv_private.h"
-#include <unistd.h>
-#include <fstream>
-#include <string>
-#include <queue>
-#include <algorithm>
#include "InputMetadata.h"
-#include <mv_common.h>
#include "Utils.h"
+#include <algorithm>
+#include <fstream>
+#include <mv_common.h>
+#include <queue>
+#include <string>
+#include <unistd.h>
namespace mediavision
{
* limitations under the License.
*/
-#include <mv_private.h>
#include "LabelInfo.h"
+#include <mv_private.h>
using namespace mediavision::inference::label;
* limitations under the License.
*/
-#include "mv_private.h"
#include "Metadata.h"
+#include "mv_private.h"
#include <map>
-#include <unistd.h>
+#include <algorithm>
#include <fstream>
-#include <string>
#include <queue>
-#include <algorithm>
+#include <string>
+#include <unistd.h>
using namespace std;
* limitations under the License.
*/
-#include <mv_private.h>
#include "NumberInfo.h"
+#include <mv_private.h>
using namespace mediavision::inference::number;
* limitations under the License.
*/
-#include "mv_private.h"
#include "ObjectDecoder.h"
+#include "mv_private.h"
-#include <unistd.h>
#include <fstream>
#include <string>
+#include <unistd.h>
namespace mediavision
{
#include "mv_private.h"
-#include <unistd.h>
+#include <algorithm>
#include <fstream>
-#include <string>
#include <queue>
-#include <algorithm>
+#include <string>
+#include <unistd.h>
#include "OutputMetadata.h"
#include "Utils.h"
* limitations under the License.
*/
-#include "mv_private.h"
#include "PoseDecoder.h"
#include "PostProcess.h"
+#include "mv_private.h"
-#include <unistd.h>
#include <fstream>
#include <string>
+#include <unistd.h>
#define MAX_NUMBER_OF_CORRECTION 3
#include "mv_private.h"
-#include <unistd.h>
+#include "PostProcess.h"
+#include <cmath>
#include <fstream>
#include <string>
-#include <cmath>
-#include "PostProcess.h"
+#include <unistd.h>
namespace mediavision
{
* limitations under the License.
*/
-#include "mv_private.h"
#include "Posture.h"
+#include "mv_private.h"
-#include <ios>
+#include <cfloat>
#include <fstream>
+#include <ios>
#include <sstream>
#include <string>
#include <unistd.h>
-#include <cfloat>
#define POSE_OFFSET_VALUE 20
#include "mv_private.h"
-#include <unistd.h>
+#include "PreProcess.h"
+#include <algorithm>
#include <fstream>
-#include <string>
#include <queue>
-#include <algorithm>
-#include "PreProcess.h"
+#include <string>
+#include <unistd.h>
const int colorConvertTable[][12] = {
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
* limitations under the License.
*/
-#include "mv_private.h"
#include "TensorBuffer.h"
+#include "mv_private.h"
#include <map>
-#include <unistd.h>
#include <fstream>
-#include <string>
#include <stdexcept>
+#include <string>
+#include <unistd.h>
namespace mediavision
{
* limitations under the License.
*/
-#include "mv_private.h"
-#include "mv_feature_key.h"
#include "mv_inference.h"
#include "Inference.h"
#include "Posture.h"
+#include "mv_feature_key.h"
+#include "mv_private.h"
-#include <new>
-#include <unistd.h>
-#include <string>
#include <mv_common.h>
-#include <mv_inference_type.h>
#include <mv_inference.h>
+#include <mv_inference_type.h>
+#include <new>
+#include <string>
+#include <unistd.h>
/**
* @file mv_inference.cpp
#include <dlog.h>
#include "EngineConfig.h"
-#include "ITask.h"
-#include "MvMlConfig.h"
#include "FldTweakCnn.h"
#include "ILandmarkDetection.h"
+#include "ITask.h"
+#include "MvMlConfig.h"
namespace mediavision
{
#ifndef __FLD_TWEAK_CNN_H__
#define __FLD_TWEAK_CNN_H__
-#include <string>
+#include "mv_private.h"
#include <memory>
#include <mv_common.h>
-#include "mv_private.h"
+#include <string>
#include "LandmarkDetection.h"
#include <mv_inference_type.h>
#ifndef __LANDMARK_DETECTION_H__
#define __LANDMARK_DETECTION_H__
+#include "mv_private.h"
#include <mv_common.h>
#include <mv_inference_type.h>
-#include "mv_private.h"
+#include "AsyncManager.h"
#include "EngineConfig.h"
-#include "inference_engine_common_impl.h"
+#include "ILandmarkDetection.h"
#include "Inference.h"
-#include "landmark_detection_type.h"
-#include "MetaParser.h"
#include "LandmarkDetectionParser.h"
+#include "MetaParser.h"
#include "MvMlConfig.h"
#include "MvMlPreprocess.h"
-#include "AsyncManager.h"
-#include "ILandmarkDetection.h"
+#include "inference_engine_common_impl.h"
+#include "landmark_detection_type.h"
namespace mediavision
{
#ifndef __PLD_CPM_H__
#define __PLD_CPM_H__
-#include <string>
+#include "mv_private.h"
#include <memory>
#include <mv_common.h>
-#include "mv_private.h"
+#include <string>
#include "LandmarkDetection.h"
#include <mv_inference_type.h>
#include <dlog.h>
#include "EngineConfig.h"
+#include "ILandmarkDetection.h"
#include "ITask.h"
#include "MvMlConfig.h"
#include "PldCpm.h"
-#include "ILandmarkDetection.h"
namespace mediavision
{
#include <vector>
+#include "mv_ml_types.h"
#include <mv_common.h>
#include <mv_inference_type.h>
-#include "mv_ml_types.h"
namespace mediavision
{
* limitations under the License.
*/
-#include "MvMlException.h"
#include "FacialLandmarkAdapter.h"
+#include "MvMlException.h"
#include "mv_landmark_detection_config.h"
using namespace std;
* limitations under the License.
*/
-#include <string.h>
-#include <map>
#include <algorithm>
+#include <map>
+#include <string.h>
-#include "MvMlException.h"
#include "FldTweakCnn.h"
+#include "MvMlException.h"
#include "Postprocess.h"
using namespace std;
* limitations under the License.
*/
-#include <string.h>
+#include <algorithm>
#include <fstream>
#include <map>
#include <memory>
-#include <algorithm>
+#include <string.h>
+#include "LandmarkDetection.h"
#include "MvMlException.h"
#include "common.h"
-#include "LandmarkDetection.h"
using namespace std;
using namespace mediavision::inference;
*/
#include <memory>
-#include "MvMlException.h"
#include "LandmarkDetectionParser.h"
+#include "MvMlException.h"
#include "landmark_detection_type.h"
using namespace std;
* limitations under the License.
*/
-#include <string.h>
-#include <map>
#include <algorithm>
+#include <map>
+#include <string.h>
#include "MvMlException.h"
-#include "mv_landmark_detection_config.h"
#include "PldCpm.h"
#include "Postprocess.h"
+#include "mv_landmark_detection_config.h"
using namespace std;
using namespace mediavision::inference;
* limitations under the License.
*/
-#include "MvMlException.h"
#include "PoseLandmarkAdapter.h"
+#include "MvMlException.h"
#include "mv_landmark_detection_config.h"
using namespace std;
* limitations under the License.
*/
-#include "mv_private.h"
-#include "mv_feature_key.h"
-#include "ITask.h"
-#include "mv_facial_landmark_internal.h"
+#include "Context.h"
#include "FacialLandmarkAdapter.h"
+#include "ITask.h"
#include "MvMlException.h"
-#include "native_capi.h"
#include "landmark_detection_type.h"
-#include "Context.h"
+#include "mv_facial_landmark_internal.h"
+#include "mv_feature_key.h"
+#include "mv_private.h"
+#include "native_capi.h"
+#include <algorithm>
#include <new>
-#include <unistd.h>
#include <string>
-#include <algorithm>
+#include <unistd.h>
#define TASK_NAME "facial_landmark"
* limitations under the License.
*/
-#include "mv_private.h"
-#include "mv_feature_key.h"
+#include "Context.h"
#include "ITask.h"
-#include "mv_pose_landmark_internal.h"
-#include "PoseLandmarkAdapter.h"
#include "MvMlException.h"
-#include "native_capi.h"
+#include "PoseLandmarkAdapter.h"
#include "landmark_detection_type.h"
-#include "Context.h"
+#include "mv_feature_key.h"
+#include "mv_pose_landmark_internal.h"
+#include "mv_private.h"
+#include "native_capi.h"
+#include <algorithm>
#include <new>
-#include <unistd.h>
#include <string>
-#include <algorithm>
+#include <unistd.h>
#define TASK_NAME "pose_landmark"
#include "EngineConfig.h"
#include "ITask.h"
-#include "MvMlConfig.h"
#include "MobilenetV1Ssd.h"
+#include "MvMlConfig.h"
namespace mediavision
{
#ifndef __MOBILENET_V1_SSD_H__
#define __MOBILENET_V1_SSD_H__
-#include <string>
+#include "mv_private.h"
#include <memory>
#include <mv_common.h>
-#include "mv_private.h"
+#include <string>
#include "ObjectDetection.h"
#include <mv_inference_type.h>
#ifndef __MOBILENET_V2_SSD_H__
#define __MOBILENET_V2_SSD_H__
-#include <string>
+#include "mv_private.h"
#include <memory>
#include <mv_common.h>
-#include "mv_private.h"
+#include <string>
#include "ObjectDetection.h"
#include <mv_inference_type.h>
#ifndef __OBJECT_DETECTION_H__
#define __OBJECT_DETECTION_H__
+#include <atomic>
+#include <mutex>
#include <queue>
#include <thread>
-#include <mutex>
-#include <atomic>
+#include "mv_private.h"
#include <mv_common.h>
#include <mv_inference_type.h>
-#include "mv_private.h"
+#include "AsyncManager.h"
#include "EngineConfig.h"
-#include "inference_engine_common_impl.h"
+#include "IObjectDetection.h"
#include "Inference.h"
-#include "object_detection_type.h"
#include "MetaParser.h"
-#include "ObjectDetectionParser.h"
#include "MvMlConfig.h"
#include "MvMlPreprocess.h"
-#include "IObjectDetection.h"
-#include "AsyncManager.h"
+#include "ObjectDetectionParser.h"
+#include "inference_engine_common_impl.h"
+#include "object_detection_type.h"
namespace mediavision
{
#include "EngineConfig.h"
#include "ITask.h"
-#include "MvMlConfig.h"
#include "MobilenetV1Ssd.h"
#include "MobilenetV2Ssd.h"
+#include "MvMlConfig.h"
namespace mediavision
{
#include <opencv2/core.hpp>
#include <opencv2/imgproc.hpp>
-#include "object_detection_type.h"
#include "IObjectDetection.h"
+#include "object_detection_type.h"
namespace mediavision
{
#include <opencv2/core.hpp>
+#include "mv_ml_types.h"
#include <mv_common.h>
#include <mv_inference_type.h>
-#include "mv_ml_types.h"
namespace mediavision
{
* limitations under the License.
*/
-#include "MvMlException.h"
#include "FaceDetectionAdapter.h"
+#include "MvMlException.h"
#include "ObjectDetectionExternal.h"
#include "mv_object_detection_config.h"
* limitations under the License.
*/
-#include <string.h>
-#include <map>
#include <algorithm>
+#include <map>
+#include <string.h>
-#include "MvMlException.h"
-#include "mv_object_detection_config.h"
#include "MobilenetV1Ssd.h"
+#include "MvMlException.h"
#include "Postprocess.h"
+#include "mv_object_detection_config.h"
using namespace std;
using namespace mediavision::inference;
* limitations under the License.
*/
-#include <unistd.h>
-#include <string>
-#include <queue>
-#include <algorithm>
-#include "MvMlException.h"
#include "MobilenetV2AnchorParser.h"
+#include "MvMlException.h"
#include "meta_common.h"
+#include <algorithm>
+#include <queue>
+#include <string>
+#include <unistd.h>
using namespace std;
using namespace mediavision::machine_learning::exception;
* limitations under the License.
*/
-#include <string.h>
-#include <map>
#include <algorithm>
#include <iostream>
+#include <map>
+#include <string.h>
-#include "MvMlException.h"
-#include "mv_object_detection_config.h"
#include "MobilenetV2Ssd.h"
+#include "MvMlException.h"
#include "Postprocess.h"
+#include "mv_object_detection_config.h"
using namespace std;
using namespace mediavision::inference;
* limitations under the License.
*/
-#include <string.h>
#include <fstream>
#include <map>
#include <memory>
+#include <string.h>
#include "MvMlException.h"
+#include "ObjectDetection.h"
#include "common.h"
#include "mv_object_detection_config.h"
-#include "ObjectDetection.h"
using namespace std;
using namespace mediavision::inference;
* limitations under the License.
*/
-#include "MvMlException.h"
#include "ObjectDetectionAdapter.h"
+#include "MvMlException.h"
#include "ObjectDetectionExternal.h"
#include "mv_object_detection_config.h"
*/
#include <memory>
+#include "MobilenetV2AnchorParser.h"
#include "MvMlException.h"
#include "ObjectDetectionParser.h"
#include "object_detection_type.h"
-#include "MobilenetV2AnchorParser.h"
using namespace std;
using namespace mediavision::machine_learning::exception;
* limitations under the License.
*/
-#include "mv_private.h"
-#include "mv_feature_key.h"
-#include "ITask.h"
-#include "mv_face_detection_internal.h"
+#include "Context.h"
#include "FaceDetectionAdapter.h"
+#include "ITask.h"
#include "MvMlException.h"
+#include "mv_face_detection_internal.h"
+#include "mv_feature_key.h"
+#include "mv_private.h"
#include "native_capi.h"
#include "object_detection_type.h"
-#include "Context.h"
-#include <new>
-#include <unistd.h>
-#include <string>
#include <algorithm>
-#include <mutex>
#include <iostream>
+#include <mutex>
+#include <new>
+#include <string>
+#include <unistd.h>
#define TASK_NAME "face_detection"
* limitations under the License.
*/
-#include "mv_private.h"
-#include "mv_feature_key.h"
+#include "Context.h"
#include "ITask.h"
-#include "mv_object_detection_internal.h"
-#include "ObjectDetectionAdapter.h"
#include "MvMlException.h"
+#include "ObjectDetectionAdapter.h"
+#include "mv_feature_key.h"
+#include "mv_object_detection_internal.h"
+#include "mv_private.h"
#include "native_capi.h"
#include "object_detection_type.h"
-#include "Context.h"
-#include <new>
-#include <unistd.h>
-#include <string>
#include <algorithm>
-#include <mutex>
#include <iostream>
+#include <mutex>
+#include <new>
+#include <string>
+#include <unistd.h>
#define TASK_NAME "object_detection"
#ifndef __OBJECT_DETECTION_3D_H__
#define __OBJECT_DETECTION_3D_H__
+#include "mv_private.h"
#include <mv_common.h>
#include <mv_inference_type.h>
-#include "mv_private.h"
#include "EngineConfig.h"
-#include "inference_engine_common_impl.h"
-#include "Inference.h"
-#include "object_detection_3d_type.h"
#include "IObjectDetection3d.h"
+#include "Inference.h"
#include "MetaParser.h"
#include "MvMlConfig.h"
-#include "ObjectDetection3dParser.h"
#include "MvMlPreprocess.h"
+#include "ObjectDetection3dParser.h"
+#include "inference_engine_common_impl.h"
+#include "object_detection_3d_type.h"
namespace mediavision
{
#include <dlog.h>
#include "EngineConfig.h"
+#include "IObjectDetection3d.h"
#include "ITask.h"
#include "MvMlConfig.h"
#include "Objectron.h"
-#include "IObjectDetection3d.h"
namespace mediavision
{
#ifndef __OBJECTRON_H__
#define __OBJECTRON_H__
+#include "MvMlConfig.h"
+#include "mv_private.h"
#include <memory>
#include <mv_common.h>
-#include "mv_private.h"
-#include "MvMlConfig.h"
#include "ObjectDetection3d.h"
#include <mv_inference_type.h>
#define __MEDIA_VISION_OBJECT_DETECTION_3D_OPEN_H__
#include <mv_common.h>
-#include <mv_private.h>
#include <mv_object_detection_3d_type.h>
+#include <mv_private.h>
#ifdef __cplusplus
extern "C" {
#ifndef __OBJECT_DETECTION_3D_TYPE_H__
#define __OBJECT_DETECTION_3D_TYPE_H__
+#include "mv_ml_types.h"
#include <mv_common.h>
#include <mv_inference_type.h>
-#include "mv_ml_types.h"
namespace mediavision
{
* limitations under the License.
*/
-#include <string.h>
+#include <algorithm>
#include <fstream>
#include <map>
#include <memory>
-#include <algorithm>
+#include <string.h>
#include "MvMlException.h"
-#include "common.h"
#include "ObjectDetection3d.h"
+#include "common.h"
using namespace std;
using namespace mediavision::inference;
* limitations under the License.
*/
-#include "MvMlException.h"
#include "ObjectDetection3dAdapter.h"
+#include "MvMlException.h"
using namespace std;
using namespace MediaVision::Common;
* limitations under the License.
*/
-#include <iostream>
-#include "MvMlException.h"
#include "ObjectDetection3dParser.h"
+#include "MvMlException.h"
+#include <iostream>
using namespace std;
using namespace mediavision::machine_learning::exception;
* limitations under the License.
*/
-#include <string.h>
-#include <map>
#include <algorithm>
+#include <map>
+#include <string.h>
#include "MvMlException.h"
#include "Objectron.h"
* limitations under the License.
*/
-#include "mv_private.h"
-#include "mv_feature_key.h"
+#include "Context.h"
#include "ITask.h"
-#include "mv_object_detection_3d_internal.h"
-#include "ObjectDetection3dAdapter.h"
#include "MvMlException.h"
+#include "ObjectDetection3dAdapter.h"
+#include "mv_feature_key.h"
+#include "mv_object_detection_3d_internal.h"
+#include "mv_private.h"
#include "native_capi.h"
#include "object_detection_3d_type.h"
-#include "Context.h"
-#include <new>
-#include <unistd.h>
-#include <string>
#include <algorithm>
#include <mutex>
+#include <new>
+#include <string>
+#include <unistd.h>
#define TASK_NAME "object_detection_3d"
#define __DATA_SET_MANAGER_H__
#include <fstream>
-#include <vector>
#include <map>
+#include <vector>
#include "FeatureVectorManager.h"
#include <string>
#include <vector>
-#include <opencv2/opencv.hpp>
#include <opencv2/imgproc/imgproc.hpp>
+#include <opencv2/opencv.hpp>
#include "file_util.h"
#ifndef __LABEL_MANAGER_H__
#define __LABEL_MANAGER_H__
-#include <string.h>
-#include <iostream>
+#include <algorithm>
#include <fstream>
+#include <iostream>
#include <istream>
-#include <algorithm>
-#include <vector>
#include <map>
+#include <string.h>
+#include <vector>
#include "file_util.h"
#include <mv_inference_type.h>
-#include "training_engine_error.h"
-#include "training_engine_common_impl.h"
-#include "inference_engine_common_impl.h"
#include "DataSetManager.h"
#include "FeatureVectorManager.h"
+#include "inference_engine_common_impl.h"
+#include "training_engine_common_impl.h"
+#include "training_engine_error.h"
struct TrainingEngineBackendInfo {
std::vector<std::string> input_layer_names;
* limitations under the License.
*/
-#include <opencv2/opencv.hpp>
#include <opencv2/imgproc/imgproc.hpp>
+#include <opencv2/opencv.hpp>
-#include "MvMlException.h"
#include "FeatureVectorManager.h"
+#include "MvMlException.h"
using namespace std;
using namespace mediavision::machine_learning::exception;
#include <dlog.h>
#include <mv_private.h>
-#include "MvMlException.h"
#include "LabelManager.h"
+#include "MvMlException.h"
using namespace std;
using namespace mediavision::machine_learning::exception;
* limitations under the License.
*/
-#include <string.h>
+#include <algorithm>
#include <fstream>
#include <istream>
-#include <tuple>
#include <map>
-#include <algorithm>
+#include <string.h>
+#include <tuple>
#include <sys/stat.h>
* limitations under the License.
*/
-#include <string.h>
+#include <algorithm>
#include <fstream>
#include <istream>
-#include <tuple>
#include <map>
-#include <algorithm>
+#include <string.h>
+#include <tuple>
#include <sys/stat.h>
-#include <dlog.h>
#include "mv_common.h"
#include "mv_private.h"
+#include <dlog.h>
#include <opencv2/core/core.hpp>
#include <opencv2/core/utility.hpp>
#include "ROITrackerUtil.h"
+#include <iostream>
#include <opencv2/tracking.hpp>
#include <opencv2/tracking/tracking_legacy.hpp>
-#include <iostream>
namespace MediaVision
{
* limitations under the License.
*/
-#include "mv_private.h"
-#include "mv_feature_key.h"
#include "mv_roi_tracker.h"
+#include "mv_feature_key.h"
+#include "mv_private.h"
#include "mv_roi_tracker_open.h"
static const char *feature_keys[] = { "http://tizen.org/feature/vision.roi_tracking" };
#include <mv_common.h>
-#include <string>
-#include <vector>
#include <list>
#include <map>
+#include <string>
+#include <vector>
#include <opencv2/opencv.hpp>
* @brief This file contains functionality for event manager.
*/
-#include "EventTrigger.h"
#include "EventDefs.h"
+#include "EventTrigger.h"
namespace mediavision
{
#include <mv_surveillance.h>
#include <mv_surveillance_private.h>
-#include <string>
-#include <map>
#include <list>
+#include <map>
+#include <string>
namespace mediavision
{
#include "EventTrigger.h"
-#include "EventResult.h"
#include "EventDefs.h"
+#include "EventResult.h"
namespace mediavision
{
#include "EventTrigger.h"
#include "MFTracker.h"
-#include "EventResult.h"
#include "EventDefs.h"
+#include "EventResult.h"
-#include <opencv2/opencv.hpp>
#include <opencv2/objdetect.hpp>
+#include <opencv2/opencv.hpp>
#include <sys/time.h>
#include "EventTrigger.h"
-#include "EventResult.h"
#include "EventDefs.h"
+#include "EventResult.h"
#include "EventTriggerPersonAppearance.h"
#include "SurveillanceHelper.h"
+#include "EventTriggerMovementDetection.h"
#include "EventTriggerPersonAppearance.h"
#include "EventTriggerPersonRecognition.h"
-#include "EventTriggerMovementDetection.h"
#include "mv_private.h"
#include <CommonUtils.h>
#include "EventTrigger.h"
-#include <mv_private.h>
-#include <mv_mask_buffer.h>
#include <mv_apply_mask.h>
+#include <mv_mask_buffer.h>
+#include <mv_private.h>
namespace mediavision
{
#include "EventTriggerMovementDetection.h"
#include "EventDefs.h"
-#include "mv_absdiff.h"
#include "SurveillanceHelper.h"
+#include "mv_absdiff.h"
#include <mv_private.h>
#include "EventTriggerPersonAppearance.h"
#include "EventManager.h"
-#include "SurveillanceHelper.h"
#include "EventTriggerMovementDetection.h"
+#include "SurveillanceHelper.h"
#include "opencv2/highgui.hpp"
#include "EventTriggerPersonRecognition.h"
#include "EventManager.h"
-#include <mv_private.h>
#include <mv_face.h>
+#include <mv_private.h>
#include <mv_surveillance.h>
#include <sstream>
#include "MFTracker.h"
-#include "opencv2/video/tracking.hpp"
#include "opencv2/imgproc.hpp"
+#include "opencv2/video/tracking.hpp"
namespace mediavision
{
#include "mv_private.h"
-#include "opencv2/imgproc.hpp"
#include "opencv2/highgui.hpp"
+#include "opencv2/imgproc.hpp"
#include "opencv2/imgproc/imgproc_c.h"
namespace mediavision
* limitations under the License.
*/
-#include <stdlib.h>
#include "mv_surveillance.h"
+#include <stdlib.h>
-#include "mv_surveillance_private.h"
-#include "mv_private.h"
#include "mv_feature_key.h"
+#include "mv_private.h"
#include "mv_surveillance_open.h"
+#include "mv_surveillance_private.h"
/**
* @file mv_surveillance.c
#include <opencv2/core.hpp>
#include <opencv2/highgui.hpp>
+#include <opencv2/imgcodecs/legacy/constants_c.h>
#include <opencv2/imgproc.hpp>
#include <opencv2/imgproc/imgproc_c.h>
-#include <opencv2/imgcodecs/legacy/constants_c.h>
-#include <error.h>
#include <argp.h>
-#include <iostream>
#include <chrono>
+#include <error.h>
+#include <iostream>
#define MAX_ARGS 2
* limitations under the License.
*/
-#include <mv_face.h>
#include <mv_common.h>
+#include <mv_face.h>
#include <mv_private.h>
#include <opencv2/core.hpp>
#include <opencv2/highgui.hpp>
+#include <opencv2/imgcodecs/legacy/constants_c.h>
#include <opencv2/imgproc.hpp>
#include <opencv2/imgproc/imgproc_c.h>
-#include <opencv2/imgcodecs/legacy/constants_c.h>
-#include <error.h>
#include <argp.h>
-#include <iostream>
#include <chrono>
+#include <error.h>
+#include <iostream>
#define MAX_ARGS 3
* limitations under the License.
*/
-#include <mv_surveillance.h>
#include <mv_common.h>
#include <mv_private.h>
+#include <mv_surveillance.h>
#include <opencv2/core.hpp>
-#include <opencv2/video.hpp>
+#include <opencv2/highgui.hpp>
#include <opencv2/imgproc.hpp>
+#include <opencv2/video.hpp>
#include <opencv2/videoio.hpp>
-#include <opencv2/highgui.hpp>
-#include <error.h>
#include <argp.h>
-#include <iostream>
#include <chrono>
+#include <error.h>
+#include <iostream>
#define MAX_ARGS 3
#include <mv_private.h>
#include <ctype.h>
-#include <stdlib.h>
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <unistd.h>
-#include <libswscale/swscale.h>
#include <libavcodec/avcodec.h>
#include <libavutil/pixfmt.h>
+#include <libswscale/swscale.h>
+#include <argp.h>
#include <curses.h>
#include <error.h>
-#include <argp.h>
#define MINX 0
#define MINY 0
+#include <ImageHelper.h>
#include <gtest/gtest.h>
#include <json-glib/json-glib.h>
#include <mv_barcode.h>
#include <string>
#include <tuple>
#include <vector>
-#include <ImageHelper.h>
using namespace std;
using TestParams = tuple<string, string>;
-#include <gtest/gtest.h>
#include <algorithm>
+#include <gtest/gtest.h>
#include <mv_barcode_generate.h>
#define IMAGE1_PATH TEST_RES_PATH "/res/inference/images/banana.jpg"
#include <setjmp.h>
+#include <MediaSource.h>
#include <opencv2/core.hpp>
#include <opencv2/highgui.hpp>
+#include <opencv2/imgcodecs/legacy/constants_c.h>
#include <opencv2/imgproc.hpp>
#include <opencv2/imgproc/imgproc_c.h>
-#include <opencv2/imgcodecs/legacy/constants_c.h>
-#include <MediaSource.h>
/**
* @file ImageHelper.cpp
#include "image_helper.h"
-#include "mv_private.h"
#include "ImageHelper.h"
+#include "mv_private.h"
#include <opencv2/core.hpp>
-#include <gtest/gtest.h>
#include <camera.h>
+#include <gtest/gtest.h>
#include <mv_common.h>
/* This test needs camera privilege and to be owner user*/
#include "image_helper.h"
#include "mv_log_cfg.h"
-#include <string.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
void print_fail_result(const char *action_name, int action_return_value)
{
* limitations under the License.
*/
-#include "mv_common.h"
#include "mv_video_helper.h"
+#include "mv_common.h"
#include "mv_log_cfg.h"
-#include <string.h>
#include <stdio.h>
+#include <string.h>
-#include <gst/gst.h>
#include <gst/app/gstappsink.h>
#include <gst/app/gstappsrc.h>
+#include <gst/gst.h>
#include <gst/video/video.h>
#include <pthread.h>
#ifndef __MEDIA_VISION_MV_VIDEO_HELPER_H__
#define __MEDIA_VISION_MV_VIDEO_HELPER_H__
-#include "mv_common.h"
#include "image_helper.h"
+#include "mv_common.h"
/**
* @brief The handle to the video reader.
extern "C" {
#endif /* __cplusplus */
-#include <cstdlib>
#include <EGL/egl.h>
#include <EGL/eglext.h>
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>
+#include <cstdlib>
typedef struct shader_obj_t {
GLuint program;
#include "mv_util_render_3d.h"
#ifdef __cplusplus
-#include <cstdlib>
#include <cmath>
+#include <cstdlib>
#else
-#include <stdlib.h>
#include <math.h>
+#include <stdlib.h>
#endif
int mv_util_visualizer_3d(mv_source_h source, float *depth, int xpos, int ypos);
*/
#define _USE_MATH_DEFINES
+#include "mv_util_matrix.h"
#include <math.h>
#include <mv_common.h>
#include <mv_private.h>
-#include "mv_util_matrix.h"
static float vec3_length(float *v)
{
* limitations under the License.
*/
-#include <stdio.h>
-#include <math.h>
#include <EGL/egl.h>
#include <EGL/eglext.h>
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>
+#include <math.h>
#include <mv_common.h>
#include <mv_private.h>
+#include <stdio.h>
#include "mv_util_matrix.h"
#include "mv_util_render_2d.h"
* limitations under the License.
*/
-#include <mv_private.h>
#include "mv_util_shader.h"
+#include <mv_private.h>
GLuint compile_shader_text(GLenum shaderType, const char *text)
{
* limitations under the License.
*/
-#include <mv_private.h>
#include <grpcpp/grpcpp.h>
+#include <mv_private.h>
#include <opencv2/core.hpp>
#include <opencv2/imgcodecs.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/opencv.hpp>
-#include "mv_util_visualizer_rd.grpc.pb.h"
#include "mv_util_visualizer_2d.h"
+#include "mv_util_visualizer_rd.grpc.pb.h"
static int win_w = 1920;
static int win_h = 1080;
* limitations under the License.
*/
-#include <mv_private.h>
-#include "mv_util_matrix.h"
#include "mv_util_visualizer_3d.h"
+#include "mv_util_matrix.h"
+#include <mv_private.h>
#define MAX_DEPTH_WIDTH 640
#define MAX_DEPTH_HEIGHT 480
* limitations under the License.
*/
-#include <string.h>
-#include <sys/mman.h>
-#include <signal.h>
-#include <mv_private.h>
+#include "mv_util_winsys.h"
#include "wayland-client.h"
#include "wayland-egl.h"
-#include "mv_util_winsys.h"
+#include <mv_private.h>
+#include <signal.h>
+#include <string.h>
+#include <sys/mman.h>
#define UNUSED(x) (void) (x)
#include "pthread.h"
#include <ctype.h>
-#include <stdlib.h>
-#include <stdio.h>
#include <dirent.h>
-#include <string.h>
#include <limits.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
#define MIN_ALLOWED_LABEL 0
#define MAX_ALLOWED_LABEL 100
#include "mv_private.h"
#include "image_helper.h"
-#include "mv_video_helper.h"
#include "mv_testsuite_common.h"
+#include "mv_video_helper.h"
-#include <stdlib.h>
#include <glib-2.0/glib.h>
+#include <stdlib.h>
#include <string.h>
#include <pthread.h>
* limitations under the License.
*/
+#include <app_common.h>
#include <stdio.h>
#include <string>
-#include <vector>
-#include <app_common.h>
#include <unistd.h>
+#include <vector>
using namespace std;
* limitations under the License.
*/
+#include <algorithm>
+#include <fstream>
#include <iostream>
-#include <string.h>
#include <map>
-#include <fstream>
+#include <string.h>
#include <vector>
-#include <algorithm>
#include "gtest/gtest.h"
#include "ImageHelper.h"
-#include "mv_face_recognition.h"
#include "face_recognition_test_util.h"
+#include "mv_face_recognition.h"
#define TRAIN_LIST_FILE TEST_RES_PATH "/res/face_recognition/res/measurement/train_list.txt"
#define TEST_LIST_FILE TEST_RES_PATH "/res/face_recognition/res/measurement/test_list.txt"
*/
#include <iostream>
-#include <string.h>
#include <map>
+#include <string.h>
#include <thread>
#include "gtest/gtest.h"
#include "ImageHelper.h"
+#include "face_recognition_test_util.h"
#include "mv_face_recognition.h"
#include "mv_face_recognition_internal.h"
-#include "face_recognition_test_util.h"
#define TRAINING_IMAGE_PATH TEST_RES_PATH "/res/face_recognition/res/test/training/"
#define TEST_IMAGE_PATH TEST_RES_PATH "/res/face_recognition/res/test/test/"
*/
#include <iostream>
+#include <map>
#include <string.h>
#include <vector>
-#include <map>
#include "gtest/gtest.h"
* limitations under the License.
*/
-#include <iostream>
#include <algorithm>
+#include <iostream>
#include <string.h>
#include <thread>
* limitations under the License.
*/
+#include <algorithm>
#include <fstream>
#include <iostream>
-#include <algorithm>
-#include <string.h>
#include <opencv2/core.hpp>
#include <opencv2/imgcodecs.hpp>
#include <opencv2/imgproc.hpp>
+#include <string.h>
#include "gtest/gtest.h"
#include <mv_common.h>
#include <mv_inference.h>
-#include <mv_testsuite_common.h>
#include <image_helper.h>
+#include <mv_testsuite_common.h>
#include <mv_video_helper.h>
#include <mv_log_cfg.h>
#include <ctype.h>
-#include <stdlib.h>
-#include <stdio.h>
#include <dirent.h>
-#include <string.h>
#include <limits.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
#include <time.h>
#define ARRAY_SIZE(x) (sizeof((x)) / sizeof((x)[0]))
* limitations under the License.
*/
+#include "test_inference_helper.hpp"
+#include <ImageHelper.h>
#include <gtest/gtest.h>
#include <string>
-#include <ImageHelper.h>
-#include "test_inference_helper.hpp"
#define FD_TFLITE_WEIGHT_MOBILENET_V1_SSD_300_PATH \
TEST_RES_PATH \
* limitations under the License.
*/
-#include <gtest/gtest.h>
-#include <ImageHelper.h>
#include "test_inference_helper.hpp"
+#include <ImageHelper.h>
+#include <gtest/gtest.h>
#define FLD_OPENCV_WEIGHT_CAFFE_PATH \
TEST_RES_PATH \
* limitations under the License.
*/
+#include "test_inference_helper.hpp"
+#include <ImageHelper.h>
#include <gtest/gtest.h>
#include <string>
-#include <ImageHelper.h>
-#include "test_inference_helper.hpp"
#define IC_LABEL_MOBILENET_V1_224_PATH \
TEST_RES_PATH \
* limitations under the License.
*/
+#include "test_inference_helper.hpp"
#include <gtest/gtest.h>
#include <image_helper.h>
-#include "test_inference_helper.hpp"
TestInference::TestInference() : _use_json_parser(false), _target_device_type(MV_INFERENCE_TARGET_DEVICE_NONE)
{
* limitations under the License.
*/
+#include "test_inference_helper.hpp"
+#include <ImageHelper.h>
#include <gtest/gtest.h>
#include <string>
-#include <ImageHelper.h>
-#include "test_inference_helper.hpp"
#define OD_LABEL_MOBILENET_V1_SSD_300_PATH \
TEST_RES_PATH \
* limitations under the License.
*/
-#include <gtest/gtest.h>
-#include <ImageHelper.h>
#include "test_inference_helper.hpp"
+#include <ImageHelper.h>
+#include <gtest/gtest.h>
#define PLD_TFLITE_WEIGHT_MOBILENET_V1_POSENET_257_PATH \
TEST_RES_PATH \
* limitations under the License.
*/
-#include <iostream>
#include <algorithm>
+#include <iostream>
#include <string.h>
#include "gtest/gtest.h"
* limitations under the License.
*/
-#include <iostream>
#include <algorithm>
+#include <iostream>
#include <string.h>
#include <thread>
#include "gtest/gtest.h"
#include "ImageHelper.h"
-#include "mv_pose_landmark_internal.h"
#include "mv_facial_landmark_internal.h"
+#include "mv_pose_landmark_internal.h"
#define IMG_FACE TEST_RES_PATH "/res/inference/images/faceLandmark.jpg"
#define IMG_POSE TEST_RES_PATH "/res/inference/images/poseLandmark.jpg"
* limitations under the License.
*/
-#include <iostream>
#include <algorithm>
+#include <iostream>
#include <string.h>
#include "gtest/gtest.h"
#include "ImageHelper.h"
-#include "mv_object_detection_internal.h"
#include "mv_face_detection_internal.h"
+#include "mv_object_detection_internal.h"
#define IMG_DOG TEST_RES_PATH "/res/inference/images/dog2.jpg"
#define IMG_FACE TEST_RES_PATH "/res/inference/images/faceDetection.jpg"
* limitations under the License.
*/
-#include <iostream>
#include <algorithm>
+#include <iostream>
#include <string.h>
#include <thread>
#include "gtest/gtest.h"
#include "ImageHelper.h"
-#include "mv_object_detection_internal.h"
#include "mv_face_detection_internal.h"
+#include "mv_object_detection_internal.h"
#define IMG_DOG TEST_RES_PATH "/res/inference/images/dog2.jpg"
#define IMG_FACE TEST_RES_PATH "/res/inference/images/faceDetection.jpg"
*/
#include <iostream>
-#include <string.h>
#include <map>
+#include <string.h>
#include "gtest/gtest.h"
* limitations under the License.
*/
-#include <pthread.h>
#include <chrono>
-#include <iostream>
#include <fstream>
#include <iomanip>
-#include <stdlib.h>
-#include <unistd.h>
+#include <iostream>
#include <math.h>
-#include <typeinfo>
#include <opencv2/core.hpp>
#include <opencv2/imgcodecs.hpp>
#include <opencv2/imgproc.hpp>
+#include <pthread.h>
+#include <stdlib.h>
+#include <typeinfo>
+#include <unistd.h>
-#include <mv_log_cfg.h>
#include <mv_common.h>
+#include <mv_log_cfg.h>
#include <mv_testsuite_common.h>
#include "mv_3d.h"
* limitations under the License.
*/
-#include <pthread.h>
#include <chrono>
-#include <iostream>
#include <fstream>
#include <iomanip>
-#include <stdlib.h>
-#include <unistd.h>
+#include <iostream>
#include <math.h>
#include <opencv2/core.hpp>
#include <opencv2/imgcodecs.hpp>
#include <opencv2/imgproc.hpp>
+#include <pthread.h>
+#include <stdlib.h>
+#include <unistd.h>
#ifdef MV_3D_POINTCLOUD_IS_AVAILABLE
#include <open3d/Open3D.h>
#endif
-#include <mv_log_cfg.h>
-#include <mv_common.h>
#include "mv_3d.h"
+#include <mv_common.h>
+#include <mv_log_cfg.h>
#include <mv_testsuite_common.h>
#include <vision_source.h>
#include <glib-2.0/glib.h>
+#include <gst/app/gstappsrc.h>
#include <gst/gst.h>
#include <gst/video/video.h>
-#include <gst/app/gstappsrc.h>
#ifdef BUILD_VISUALIZER
#include "mv_util_visualizer_2d.h"
* limitations under the License.
*/
-#include <unistd.h>
-#include <pthread.h>
#include <glib-2.0/glib.h>
+#include <pthread.h>
+#include <unistd.h>
-#include "gtest/gtest.h"
#include "ImageHelper.h"
#include "mv_3d.h"
+#include "gtest/gtest.h"
using namespace testing;
* limitations under the License.
*/
-#include "mv_testsuite_common.h"
#include "image_helper.h"
+#include "mv_testsuite_common.h"
#include "mv_log_cfg.h"
#include "mv_private.h"
#include "mv_surveillance.h"
-#include <stdlib.h>
#include <limits.h>
+#include <stdlib.h>
#define MAX_EVENTS_NUMBER 101
*/
#include <iostream>
-#include <string.h>
#include <map>
+#include <string.h>
#include "gtest/gtest.h"
-#include <stdio.h>
-#include <grpcpp/grpcpp.h>
#include "proto/mv_util_visualizer_rd.grpc.pb.h"
+#include <grpcpp/grpcpp.h>
+#include <stdio.h>
#include <stdlib.h>
#include <string>
#include <opencv2/core.hpp>
-#include <opencv2/imgcodecs.hpp>
#include <opencv2/highgui.hpp>
+#include <opencv2/imgcodecs.hpp>
#include <opencv2/imgproc/imgproc.hpp>
typedef unsigned char byte;
#include <mv_private.h>
-#include <iostream>
+#include <argp.h>
#include <chrono>
#include <error.h>
-#include <argp.h>
+#include <iostream>
+#include "bunny.h"
#include "mv_util_visualizer_2d.h"
#include "mv_util_visualizer_3d.h"
-#include "bunny.h"
#define MAX_ARGS 3