Please, How can I use the application.OpenUrL function when the image is scanned in unity? I am trying to build an AR app using ARCore in Unity. I have ten images and ten URL links to websites, I need to link the ten images with those ten URL links. When I scan the image with the phone's camera, I want the URL to open directly. I've done image tracking with video before, but now I want to do image tracking linking to a URL. Do you know any tutorial to follow it? Thank you!
Hi, Thank you so much for the great tutorial. I am going to use OpenCV for my Unity project. In that project I need to implement Jump, Run, SwipeLeft, SwipeRight and etc gestures with OpenCV using a Web camera. Can you please confirm that the Jump, Run, SwipeLeft, SwipeRight, and etc gestures are possible with OpenCV pose tracking? If possible can you please help me or share some of the references for the above gestures implementation using Unity. Thanks in advance.
thanks for your tutorial, but I have a question: do you have experience in doing opencv operations in an update loop? It's working fine in editor, but I can't find any memory leak or sth like this, but it keeps on crashing on devices after a random time :(
if we have openCV code, can we use it in unity directly or we need "opencv for unity" asset or our code should be written specifically using "opencv for unity" asset ?
depends on which build libraries you are using. To get this code to work with "OpenCVforUnity" , I had to put these at the top of my code, " using OpenCVForUnity.CoreModule; using OpenCVForUnity.UnityUtils; using OpenCVForUnity.ImgprocModule; using OpenCVForUnity.ImgcodecsModule; using OpenCVForUnity.UtilsModule;" for some reason I cant just out "using OpenCVForUnity;" I haven't tried the other Builds(Anroid, IOS, etc..) yet
I had problems as well, I did some debugging and found that sometimes I get multiple tempTargets so on line 79 " MatOfPoint approxPt = tempTargets[0];" you can't just get the first index from the tempTargets list. I hade to loop through the items in the list and find the one that I was looking for. Hope this helps
Great tutorrial man
dude, this is awesome work.
CvException: 'type' can be CV_32SC2, CV_32F or CV_64FC2
Please, How can I use the application.OpenUrL function when the image is scanned in unity?
I am trying to build an AR app using ARCore in Unity. I have ten images and ten URL links to websites, I need to link the ten images with those ten URL links. When I scan the image with the phone's camera, I want the URL to open directly.
I've done image tracking with video before, but now I want to do image tracking linking to a URL. Do you know any tutorial to follow it?
Thank you!
Хороший урок, последовательно и понятно +
you rock! Thanks much!
Hi, Thank you so much for the great tutorial.
I am going to use OpenCV for my Unity project. In that project I need to implement Jump, Run, SwipeLeft, SwipeRight and etc gestures with OpenCV using a Web camera.
Can you please confirm that the Jump, Run, SwipeLeft, SwipeRight, and etc gestures are possible with OpenCV pose tracking?
If possible can you please help me or share some of the references for the above gestures implementation using Unity.
Thanks in advance.
i think you want to implement your game mechanic as a form of "body segmentation".
just a guess.
thanks for your tutorial, but I have a question: do you have experience in doing opencv operations in an update loop? It's working fine in editor, but I can't find any memory leak or sth like this, but it keeps on crashing on devices after a random time :(
if we have openCV code, can we use it in unity directly or we need "opencv for unity" asset or our code should be written specifically using "opencv for unity" asset ?
depends on which build libraries you are using.
To get this code to work with "OpenCVforUnity" ,
I had to put these at the top of my code, "
using OpenCVForUnity.CoreModule;
using OpenCVForUnity.UnityUtils;
using OpenCVForUnity.ImgprocModule;
using OpenCVForUnity.ImgcodecsModule;
using OpenCVForUnity.UtilsModule;"
for some reason I cant just out "using OpenCVForUnity;"
I haven't tried the other Builds(Anroid, IOS, etc..) yet
It looks like GaussianBlur() is ignored by Unity. MedianBlur() is ignored as well.
increase the first number
NIce work, i have a project for you, would you like to do ?
please update it for Unity 2020
im using 2021.3.20f1, works
but OpenCV is not free for unity?! i cost like 90£
В Google ищи, я вчера скачал бесплатно с какого то японского сайта.
There is a FREE Version called "OpenCV plus Unity"
hello anyone managed to get this working?
Yup
I had problems as well, I did some debugging and found that sometimes I get multiple tempTargets so on line 79 " MatOfPoint approxPt = tempTargets[0];" you can't just get the first index from the tempTargets list. I hade to loop through the items in the list and find the one that I was looking for. Hope this helps