// Start is called before the first frame update void Start() { //MajorityValidText = GameObject.FindGameObjectWithTag("MAJORITY_TEXT").GetComponent<Text>(); //MajorityFinalText = GameObject.FindGameObjectWithTag("MAJORITY_FINAL").GetComponent<Text>(); //TimeText = GameObject.FindGameObjectWithTag("TIME").GetComponent<Text>(); //OCRWordsText = GameObject.FindGameObjectWithTag("OCR_TEXT").GetComponent<Text>(); clientApp = gameObject.GetComponent <MasoutisManager>(); annotatingImage.SetActive(false); }
// Start is called before the first frame update void Start() { _gcVision = GCVision.Instance; _gcVision.AnnotateSuccessEvent += _gcVision_AnnotateSuccessEvent; _gcVision.AnnotateFailedEvent += _gcVision_AnnotateFailedEvent; masoutisClient = gameObject.GetComponent <MasoutisManager>(); // set features types productFeatureTypes = new List <Enumerators.FeatureType>() { Enumerators.FeatureType.TEXT_DETECTION, Enumerators.FeatureType.OBJECT_LOCALIZATION }; shelfFeatureTypes = new List <Enumerators.FeatureType>() { Enumerators.FeatureType.TEXT_DETECTION, }; }