[Unity Tutorial] How to create Document Scanner with OpenCV For Unity

Поделиться
HTML-код
  • Опубликовано: 6 ноя 2024

Комментарии • 24

  • @entertainmentoverloaded5700
    @entertainmentoverloaded5700 2 года назад +1

    Great tutorrial man

  • @troyna77
    @troyna77 Год назад

    dude, this is awesome work.

  • @huatv2348
    @huatv2348 8 месяцев назад

    CvException: 'type' can be CV_32SC2, CV_32F or CV_64FC2

  • @GeospatialTechnologies
    @GeospatialTechnologies 3 года назад

    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!

  • @РусланАсташенко
    @РусланАсташенко 5 лет назад

    Хороший урок, последовательно и понятно +

  • @antaminh
    @antaminh 4 года назад +1

    you rock! Thanks much!

  • @queriesask1765
    @queriesask1765 3 года назад

    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.

    • @troyna77
      @troyna77 Год назад

      i think you want to implement your game mechanic as a form of "body segmentation".
      just a guess.

  • @BlackmooreddDe
    @BlackmooreddDe 6 лет назад

    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 :(

  • @sme855
    @sme855 5 лет назад +1

    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 ?

    • @troyna77
      @troyna77 Год назад

      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

  • @trul77
    @trul77 5 лет назад

    It looks like GaussianBlur() is ignored by Unity. MedianBlur() is ignored as well.

    • @troyna77
      @troyna77 Год назад

      increase the first number

  • @sme855
    @sme855 5 лет назад

    NIce work, i have a project for you, would you like to do ?

  • @HabibYo
    @HabibYo 3 года назад

    please update it for Unity 2020

    • @troyna77
      @troyna77 Год назад +1

      im using 2021.3.20f1, works

  • @HipurVideos
    @HipurVideos 6 лет назад

    but OpenCV is not free for unity?! i cost like 90£

    • @РусланАсташенко
      @РусланАсташенко 5 лет назад

      В Google ищи, я вчера скачал бесплатно с какого то японского сайта.

    • @troyna77
      @troyna77 Год назад

      There is a FREE Version called "OpenCV plus Unity"

  • @tanweerjugoo4934
    @tanweerjugoo4934 5 лет назад

    hello anyone managed to get this working?

    • @norbertasmurauskas3103
      @norbertasmurauskas3103 5 лет назад +1

      Yup

    • @cee3758
      @cee3758 3 года назад

      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