public WorldSpaceFoodData(FoodData foodData, Vector3 centerWorldPos,
                           Vector3 topLeftWorldPosition,
                           Vector3 topRightWorldPosition,
                           Vector3 bottomLeftWorldPosition,
                           Vector3 bottomRightWorldPosition)
 {
     this.CenterWorldPosition      = centerWorldPos;
     this.FoodData                 = foodData;
     this.TopLeftWorldPosition     = topLeftWorldPosition;
     this.TopRightWorldPosition    = topRightWorldPosition;
     this.BottomLeftWorldPosition  = bottomLeftWorldPosition;
     this.BottomRightWorldPosition = bottomRightWorldPosition;
     this.FoodData.Calorie         =
         CalorieCalculater.CalculateCalorie(foodData.Class, RectAreaValue, foodData.PercentageOfMealArea);
 }
        // Use this for initialization
        void Start()
        {
            _colorCameraObject = InjectColorCamera();
            //_depthCameraObject = InjectDepthCamera();
            _objectDetector      = ObjectDetectorInject();
            _foodDataViewManager = gameObject.GetComponent <FoodDataViewManager>();

            if (RealTimeDetection)
            {
                StartCoroutine(TakePhotoCoroutine());
            }
            else
            {
                InputManager.Instance.AddGlobalListener(gameObject);
            }

            CalorieCalculater.Initialize();
        }