C# Class TakePicture

Inheritance: MonoBehaviour, ITrackerEventHandler
Afficher le fichier Open project: DiUS/3DiUS Class Usage Examples

Méthodes publiques

Свойство Type Description
initialPhotoTakenText string
resultPanel GameObject
resultTtext UnityEngine.UI.Text
takePictureButton GameObject

Méthodes publiques

Méthode Description
CallGoogleVisionApi ( VisionRequestBody, request, System callback ) : void
DebugPrint ( string message, Object context = null ) : void
DebugPrintImage ( Image, image ) : void
OnInitialized ( ) : void
OnTrackablesUpdated ( ) : void
SaveImage ( Image, image ) : void
SaveScreenshot ( ) : void
ShowResults ( ) : void
Start ( ) : void
TakeScreenshot ( ) : void
VisionAnnotate ( byte image ) : void

Private Methods

Méthode Description
ActivateUI ( ) : IEnumerator
GetImageFromCamera ( ) : Image,
ImageToBytes ( Image, image ) : byte[]
LoadPNG ( ) : byte[]
SendPicture ( WWW www, System callback ) : IEnumerator

Method Details

CallGoogleVisionApi() public méthode

public CallGoogleVisionApi ( VisionRequestBody, request, System callback ) : void
request VisionRequestBody,
callback System
Résultat void

DebugPrint() public méthode

public DebugPrint ( string message, Object context = null ) : void
message string
context Object
Résultat void

DebugPrintImage() public méthode

public DebugPrintImage ( Image, image ) : void
image Image,
Résultat void

OnInitialized() public méthode

public OnInitialized ( ) : void
Résultat void

OnTrackablesUpdated() public méthode

public OnTrackablesUpdated ( ) : void
Résultat void

SaveImage() public méthode

public SaveImage ( Image, image ) : void
image Image,
Résultat void

SaveScreenshot() public méthode

public SaveScreenshot ( ) : void
Résultat void

ShowResults() public méthode

public ShowResults ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

TakeScreenshot() public méthode

public TakeScreenshot ( ) : void
Résultat void

VisionAnnotate() public méthode

public VisionAnnotate ( byte image ) : void
image byte
Résultat void

Property Details

initialPhotoTakenText public_oe property

public string initialPhotoTakenText
Résultat string

resultPanel public_oe property

public GameObject resultPanel
Résultat GameObject

resultTtext public_oe property

public Text,UnityEngine.UI resultTtext
Résultat UnityEngine.UI.Text

takePictureButton public_oe property

public GameObject takePictureButton
Résultat GameObject