comoc / UnityCloudVision

Google Cloud Vision API client for Unity
58 stars 15 forks source link

face landmark visualizer #5

Open shacharoz opened 4 years ago

shacharoz commented 4 years ago

hey there, i have updated the code to add visualizing of the facial landmarks. if you want feel free to add it to the sample. or you can add me to collaborate. nice sample withlandmarks.zip

John-O-Really commented 4 years ago

Hey there,

I cannot believe my luck that someone is commenting on this 4 year old project, just as I find it myself!

⚠ Just so you're aware, I believe your Unity Package Includes your Google Cloud API key

May I also ask how you overcame the crash?

shacharoz commented 4 years ago

thanks for the warning mate. but i restricted the package to work only from a specific ip address...

i just can tell you that i compared google api, microsoft api, but now i chose to download the opencv lib from unity. i am now checking that out.

shacharoz commented 4 years ago

which crash?

shacharoz commented 4 years ago

i have the project up and running in unity 2019.2

John-O-Really commented 4 years ago

Glad to hear you're all secured!

I believe It's the same crash as reported here; https://github.com/comoc/UnityCloudVision/issues/4

Error: 403 Forbidden
UnityEngine.Debug:Log(Object)
<Capture>c__Iterator0:MoveNext() (at Assets/WebCamTextureToCloudVision.cs:283)
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

Lemme try 2019.2, that might work!

shacharoz commented 4 years ago

i know why. because i stopped the mechanism to work after one photo was taken... i didnt even get to the crash.

all i needed really is the landmarks, so i just stopped requesting.

sorry :)

John-O-Really commented 4 years ago

Ah right! Makes sense! No worries though, I'll keep at it :)