Giter VIP home page Giter VIP logo

opencv-spm's People

Contributors

github-actions[bot] avatar hguandl avatar yeatse avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

opencv-spm's Issues

Couldn't lookup symbols in playground

I was trying to run the example in the Readme in a playground in project that has the package as a dependency, but I'm getting the following errors:

error: Couldn't lookup symbols:
  static __C.CvType.CV_8UC1.getter : Swift.Int32
  static __C.CvType.CV_8UC1.getter : Swift.Int32
  static __C.CvType.CV_8UC1.getter : Swift.Int32
  static __C.CvType.CV_8UC1.getter : Swift.Int32
  static __C.CvType.CV_8UC1.getter : Swift.Int32
  static __C.CvType.CV_8UC1.getter : Swift.Int32
  static __C.CvType.CV_8UC1.getter : Swift.Int32
  static __C.CvType.CV_8UC1.getter : Swift.Int32
  static __C.CvType.CV_8UC1.getter : Swift.Int32
  static __C.CvType.CV_8UC1.getter : Swift.Int32
  static __C.CvType.CV_8UC1.getter : Swift.Int32
  static __C.CvType.CV_8UC1.getter : Swift.Int32
  static __C.CvType.CV_8UC1.getter : Swift.Int32
  static __C.CvType.CV_8UC1.getter : Swift.Int32
  static __C.CvType.CV_8UC1.getter : Swift.Int32
  static __C.CvType.CV_8UC1.getter : Swift.Int32
  static __C.CvType.CV_8UC1.getter : Swift.Int32

Any idea why this might be? It's a brand new completely empty project.

Conflicted with Pod

I used Pod to import Mediapipe
Then I use your method to deploy opencv, it has the following errors:
487 duplicate symbols
Linker command failed with exit code 1 (use -v to see invocation)

Could you pls check it for me? Thanks

Conflicted with Pod

I used Pod to import Mediapipe
Then I use your method to deploy opencv, it has the following errors:
487 duplicate symbols
Linker command failed with exit code 1 (use -v to see invocation)

Could you pls check it for me? Thanks

Install to device fails on Xcode 15.3 (beta 2)

Builds okay but install to device fails due to missing Info.plist:

Failed to install the app on the device.
Domain: com.apple.dt.CoreDeviceError
Code: 3002
User Info: {
    DVTErrorCreationDateKey = "2024-02-13 12:57:34 +0000";
    IDERunOperationFailingWorker = IDEInstallCoreDeviceWorker;
    NSURL = "file:///Users/.....app/";
}
--
Failed to install the app on the device.
Domain: com.apple.dt.CoreDeviceError
Code: 3002
User Info: {
    IDERunOperationFailingWorker = IDEInstallCoreDeviceWorker;
    NSURL = "file:///....app/";
}
--
Unable to Install “.....”
Domain: IXUserPresentableErrorDomain
Code: 1
Failure Reason: Please try again later.
Recovery Suggestion: Failed to load Info.plist from bundle at path /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.AXpULF/extracted/Payload/....../Frameworks/opencv2.framework; Extra info about "/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.AXpULF/extracted/Payload/...../Frameworks/opencv2.framework/Info.plist": Couldn't stat /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.AXpULF/extracted/Payload/...../Frameworks/opencv2.framework/Info.plist: No such file or directory

Event Metadata: com.apple.dt.IDERunOperationWorkerFinished : {
    "device_isCoreDevice" = 1;
    "device_model" = "iPad8,9";
    "device_osBuild" = "17.3 (21D50)";
    "device_platform" = "com.apple.platform.iphoneos";
    "dvt_coredevice_version" = "355.21";
    "dvt_mobiledevice_version" = "1643.60.2";
    "launchSession_schemeCommand" = Run;
    "launchSession_state" = 1;
    "launchSession_targetArch" = arm64;
    "operation_duration_ms" = 14194;
    "operation_errorCode" = 35;
    "operation_errorDomain" = "com.apple.dt.CoreDeviceError.3002.IXUserPresentableErrorDomain.1.MIInstallerErrorDomain";
    "operation_errorWorker" = IDEInstallCoreDeviceWorker;
    "operation_name" = IDERunOperationWorkerGroup;
    "param_debugger_attachToExtensions" = 0;
    "param_debugger_attachToXPC" = 1;
    "param_debugger_type" = 3;
    "param_destination_isProxy" = 0;
    "param_destination_platform" = "com.apple.platform.iphoneos";
    "param_diag_MainThreadChecker_stopOnIssue" = 0;
    "param_diag_MallocStackLogging_enableDuringAttach" = 0;
    "param_diag_MallocStackLogging_enableForXPC" = 1;
    "param_diag_allowLocationSimulation" = 1;
    "param_diag_checker_tpc_enable" = 1;
    "param_diag_gpu_frameCapture_enable" = 3;
    "param_diag_gpu_shaderValidation_enable" = 0;
    "param_diag_gpu_validation_enable" = 0;
    "param_diag_memoryGraphOnResourceException" = 0;
    "param_diag_queueDebugging_enable" = 1;
    "param_diag_runtimeProfile_generate" = 0;
    "param_diag_sanitizer_asan_enable" = 0;
    "param_diag_sanitizer_tsan_enable" = 0;
    "param_diag_sanitizer_tsan_stopOnIssue" = 0;
    "param_diag_sanitizer_ubsan_stopOnIssue" = 0;
    "param_diag_showNonLocalizedStrings" = 0;
    "param_diag_viewDebugging_enabled" = 1;
    "param_diag_viewDebugging_insertDylibOnLaunch" = 1;
    "param_install_style" = 0;
    "param_launcher_UID" = 2;
    "param_launcher_allowDeviceSensorReplayData" = 1;
    "param_launcher_kind" = 0;
    "param_launcher_style" = 99;
    "param_launcher_substyle" = 8192;
    "param_runnable_appExtensionHostRunMode" = 0;
    "param_runnable_productType" = "com.apple.product-type.application";
    "param_structuredConsoleMode" = 1;
    "param_testing_launchedForTesting" = 0;
    "param_testing_suppressSimulatorApp" = 0;
    "param_testing_usingCLI" = 0;
    "sdk_canonicalName" = "iphoneos17.4";
    "sdk_osVersion" = "17.4";
    "sdk_variant" = iphoneos;
}
--


System Information

macOS Version 14.3.1 (Build 23D60)
Xcode 15.3 (22617) (Build 15E5188j)
Timestamp: 2024-02-13T12:57:34Z

Inquiry about the Inclusion of Stitcher Class in opencv-spm

Hello! I have been utilizing the opencv-spm library for an image processing project and came across a requirement to perform image stitching. In the standard OpenCV C++ library, the Stitcher class is typically used for this purpose. However, I noticed that this class seems to be absent from the Swift package.

Could you please confirm whether the Stitcher class is included in the opencv-spm library? If it is not included, are there any plans to support this class in future releases? Alternatively, could you suggest another approach to achieve image stitching within the Swift environment?

Thank you for your time and assistance!

[question]laplacian function available?

Dear yeatse

I successfully install the opencv-spm in my iOS project.
I want to measure blurr of image, so like following
laplacian = cv2.Laplacian(gray, cv2.CV_64F)

I cannot find the likely command under Imgproc.

Can I measure blurr with this package?

Missing modules (to be built?)

Hi,

I'm just scratching the surface with OpenCV so my apologies if this is a trivial question. I find your package and I was wondering why after installing it, the Xcode project isn't able to access some modules? (i.e. core dnn and many others)

Is there something specific to do to access more modules from the Xcode project?

Thanks in advance :)

image

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.