Giter Site home page Giter Site logo

Comments (11)

schmidt-sebastian avatar schmidt-sebastian commented on May 9, 2024

We will take a look.

from mediapipe.

schmidt-sebastian avatar schmidt-sebastian commented on May 9, 2024

For now, we recommend following the workaround in #5051 (comment)

from mediapipe.

github-actions avatar github-actions commented on May 9, 2024

This issue has been marked stale because it has no recent activity since 7 days. It will be closed if no further activity occurs. Thank you.

from mediapipe.

g-o-o-g-l-e avatar g-o-o-g-l-e commented on May 9, 2024

I am having the same issue

from mediapipe.

kuaashish avatar kuaashish commented on May 9, 2024

Hi @kers97, @g-o-o-g-l-e,

We are pleased to inform you of the release of version 0.10.0, which addresses this issue. Additionally, you can review the pull request (PR) for the fix here. Kindly rebuild, and please inform us if everything is now functioning as expected.

Thank you!!

from mediapipe.

kers97 avatar kers97 commented on May 9, 2024

hi @kuaashish, the build issues fixed as I can see. Now I can get a successful build. But I have a following issue.

this is the podfile that I use.

platform :ios, '16.0'
target 'KYC' do
use_frameworks!
pod 'MediaPipeTasksVision', '0.10.10'
pod 'OpenCV'
end

When i try to import opencv in my .swift file it does not appear in import options. Any suggestions ?

from mediapipe.

priankakariatyml avatar priankakariatyml commented on May 9, 2024

hi @kuaashish, the build issues fixed as I can see. Now I can get a successful build. But I have a following issue.

this is the podfile that I use.

platform :ios, '16.0' target 'KYC' do use_frameworks! pod 'MediaPipeTasksVision', '0.10.10' pod 'OpenCV' end

When i try to import opencv in my .swift file it does not appear in import options. Any suggestions ?

@kers97 This is not related to the MediaPipeTasks vision framework.

But AFAIK, this should be because OpenCV is a C++ framework. It doesn't have Swift or Objective C interfaces. So you can't import it directly from Swift. You'll most probably have to create Objective C++ (.mm) classes that implement your OpenCV functionality, expose those classes using a bridging header to your Swift code and use them.

from mediapipe.

kers97 avatar kers97 commented on May 9, 2024

hi @kuaashish, the build issues fixed as I can see. Now I can get a successful build. But I have a following issue.
this is the podfile that I use.
platform :ios, '16.0' target 'KYC' do use_frameworks! pod 'MediaPipeTasksVision', '0.10.10' pod 'OpenCV' end
When i try to import opencv in my .swift file it does not appear in import options. Any suggestions ?

@kers97 This is not related to the MediaPipeTasks vision framework.

But AFAIK, this should be because OpenCV is a C++ framework. It doesn't have Swift or Objective C interfaces. So you can't import it directly from Swift. You'll most probably have to create Objective C++ (.mm) classes that implement your OpenCV functionality, expose those classes using a bridging header to your Swift code and use them.

Thanks for your response I forgot that I have to put a bridging layer.

from mediapipe.

kuaashish avatar kuaashish commented on May 9, 2024

Hi @kers97,

it's great to hear that the solution worked for you. Could you please confirm if the issue is no longer present on your end? If so, may we proceed to mark this matter as resolved and close the status?

Thank you!!

from mediapipe.

kers97 avatar kers97 commented on May 9, 2024

Yes I confirm issue resolved.

from mediapipe.

google-ml-butler avatar google-ml-butler commented on May 9, 2024

Are you satisfied with the resolution of your issue?
Yes
No

from mediapipe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.