Code Monkey home page Code Monkey logo

Comments (22)

ofTheo avatar ofTheo commented on May 28, 2024 2

Following up as this is an issue for a lot of other depth camera libraries:
See the discussion here: IntelRealSense/librealsense#11815

The TLDR:

Reopening, as this will probably affect all supported Orbbec cameras on macOS.

from orbbecsdk.

zhonghong322 avatar zhonghong322 commented on May 28, 2024

Femto Mega does not support MacOS,MacOS only support Gemini 2 L、Astra 2、Gemini 2 device.

from orbbecsdk.

ofTheo avatar ofTheo commented on May 28, 2024

from orbbecsdk.

ofTheo avatar ofTheo commented on May 28, 2024

Going to close - but would absolutely love if you could get at least network access to Femto Mega working on macOS in the future 😁🙏

from orbbecsdk.

henriquenunez avatar henriquenunez commented on May 28, 2024

Hey, I am having the same issue with Astra Stereo SU3. What could be the problem?

image

from orbbecsdk.

henriquenunez avatar henriquenunez commented on May 28, 2024

I think this might be due to macOS already locking the UVC device, so the SDK cannot open the stream again.. Any thoughts?

from orbbecsdk.

zhonghong322 avatar zhonghong322 commented on May 28, 2024

Hey, I am having the same issue with Astra Stereo SU3. What could be the problem?

image

This is a permission issue. You can use sudo to open the device with administrator privileges.

from orbbecsdk.

henriquenunez avatar henriquenunez commented on May 28, 2024

from orbbecsdk.

ofTheo avatar ofTheo commented on May 28, 2024

@henriquenunez - was your solution to run the example with sudo, or did you do something else?

from orbbecsdk.

henriquenunez avatar henriquenunez commented on May 28, 2024

from orbbecsdk.

xcy2011sky avatar xcy2011sky commented on May 28, 2024

@ofTheo It is expected that by January 30, 2024, FemtoMega will support mac OS and support both USB and network functions

from orbbecsdk.

zhonghong322 avatar zhonghong322 commented on May 28, 2024

@ofTheo It is expected that by January 30, 2024, FemtoMega will support mac OS and support both USB and network functions

We are resolving the issue, may be January 30, 2024 support mac OS.

from orbbecsdk.

ofTheo avatar ofTheo commented on May 28, 2024

Wow!! That's wonderful news @xcy2011sky @zhonghong322
Super excited for this - going to be incredible for our community. 🎉🙏

from orbbecsdk.

xcy2011sky avatar xcy2011sky commented on May 28, 2024

@ofTheo
The latest SDK version 1.9.3 has been released. The camera models FemtoMega, Gemini2, Gemini2L, and Astra2 are all now supported on the MacOS system.

from orbbecsdk.

zhonghong322 avatar zhonghong322 commented on May 28, 2024

@ofTheo https://github.com/orbbec/OrbbecSDK/releases/tag/v1.9.3, The OrbbecViewer tool, which supports Mac, will be released very soon.

from orbbecsdk.

ofTheo avatar ofTheo commented on May 28, 2024

@zhonghong322 - awesome to hear about the OrbbecViewer tool.

Can confirm USB 3.2 works on macOS but does require sudo to launch.
( This would be amazing to solve ) but I can take a look too.

image

from orbbecsdk.

ofTheo avatar ofTheo commented on May 28, 2024

update: it does seem the USB / sudo situation is fairly flakey on macOS.
I got it working a couple of times, but then other times it just hangs after listing the device.

DesignIO2023:bin theo$ sudo TrackerDev.app/Contents/MacOS/TrackerDev 
2024-01-19 15:42:26.884 TrackerDev[43718:12163482] WARNING: Secure coding is automatically enabled for restorable state! However, not on all supported macOS versions of this application. Opt-in to secure coding explicitly by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState:.
[warning] ofPixels: setting color not supported yet for UNKOWN format
[01/19 15:42:26.998128][info][12163482][Context.cpp:67] Context created with config: default config!
[01/19 15:42:26.998146][info][12163482][Context.cpp:72] Context work_dir=/users/me/TrackerDev/bin/TrackerDev.app/Contents/Resources
[01/19 15:42:27.000860][info][12163482][MacPal.cpp:104] Create PollingDeviceWatcher!
[01/19 15:42:27.000869][info][12163482][DeviceManager.cpp:15] Current found device(s): (1)
[01/19 15:42:27.000870][info][12163482][DeviceManager.cpp:24] 	- Name: Femto Mega, PID: 0x0669, SN/ID: CL2AA31003T, Connection: USB3.2

not sure if this is the macOS sudo issue or something else

from orbbecsdk.

zhonghong322 avatar zhonghong322 commented on May 28, 2024

@ofTheo Have you connected the external power adapter to ensure stable power supply? If the power supply is stable, the power indicator on the back of the Femto Mega should be white.

from orbbecsdk.

zhonghong322 avatar zhonghong322 commented on May 28, 2024

@ofTheo We have updated to OrbbecSDK version 1.9.4, and the OrbbecViewer tool now supports MacOS. https://github.com/orbbec/OrbbecSDK/releases/tag/v1.9.4

from orbbecsdk.

ofTheo avatar ofTheo commented on May 28, 2024

Thanks @zhonghong322 - I did give the Orbbec Viewer a try on macOS and it requires a lot of steps to even get the application open.

1 - I first had to expliately allow OrbbecViewer to be run as a non signed app via Security System Preferences.
2 - Then for each dylib it was trying to load I had to explicitly approve it via the same section in System Preferences. Each time this causes the app to crash so I had to run the app as many times as there was dylib ( 10+ times ).
3 - Then I had to launch the app with Sudo.

Here you can see the permissions I had to give to each dylib

Screenshot 2024-02-05 at 9 43 49 AM

Once I did all above and running with sudo I get a hang after listing the device:

DesignIO2023:OrbbecViewer_v1.9.4_202401301118_macos_arm64_release theo$ sudo ./OrbbecViewer 
Password:
2024-02-06 15:01:26.673 INFO  [17124546] [loggerInit@18] **********************************************
2024-02-06 15:01:26.673 INFO  [17124546] [loggerInit@19]  OrbbecViewer launched! Welcome!! 
2024-02-06 15:01:26.673 INFO  [17124546] [loggerInit@20]  	- Version: V1.9.4
2024-02-06 15:01:26.673 INFO  [17124546] [loggerInit@21]  	- Author: 
2024-02-06 15:01:26.673 INFO  [17124546] [loggerInit@22]  	- E-Mail: 
2024-02-06 15:01:26.673 INFO  [17124546] [loggerInit@23]  	- Company: orbbec
2024-02-06 15:01:26.673 INFO  [17124546] [loggerInit@24]  	- Website: http://www.orbbec.com.cn/
2024-02-06 15:01:26.673 INFO  [17124546] [loggerInit@25] **********************************************
2024-02-06 15:01:26.811 INFO  [17124546] [IWindow::IWindow@133] Init glfw down!
[02/06 15:01:26.817745][info][17124546][Context.cpp:69] Context created with config: /Users/theo/Downloads/OrbbecViewer_v1.9.4_202401301118_macos_arm64_release/OrbbecSDKConfig_v1.0.xml
[02/06 15:01:26.817770][info][17124546][Context.cpp:74] Context work_dir=/Users/theo/Downloads/OrbbecViewer_v1.9.4_202401301118_macos_arm64_release
[02/06 15:01:26.817776][info][17124546][Context.cpp:77] 	- SDK version: 1.9.4
[02/06 15:01:26.817781][info][17124546][Context.cpp:78] 	- SDK stage version: main
[02/06 15:01:26.817787][info][17124546][Context.cpp:82] get config EnumerateNetDevice:false
[02/06 15:01:26.817795][info][17124546][MacPal.cpp:36] createObPal: create MacPal!
[02/06 15:01:26.822145][info][17124546][MacPal.cpp:104] Create PollingDeviceWatcher!
[02/06 15:01:26.822164][info][17124546][DeviceManager.cpp:15] Current found device(s): (1)
[02/06 15:01:26.822168][info][17124546][DeviceManager.cpp:24] 	- Name: Femto Mega, PID: 0x0669, SN/ID: CL2AA31003T, Connection: USB3.2

If I have the Femto Mega disconnected before launching the app the app opens as expected, but then hangs as soon as I connect the Femto Mega.

For 1) and 2) I think this could be solved by bundling the dylibs in an App Bundle and getting it Signed and Notarized as a typical Mac App.

For 3) Does the Mega need the latest firmware? I still have the firmware from when it shipped.

from orbbecsdk.

xcy2011sky avatar xcy2011sky commented on May 28, 2024

@ofTheo
I hope to communicate with you about the use experience of FemtoBolt. Could you please give me an email address? Or you can contact me directly.My email [email protected];

from orbbecsdk.

SimonBiggsUK avatar SimonBiggsUK commented on May 28, 2024

I'm following this thread with interest as I would be very keen to have an Orbbec running native to Mac OS. I currently employ an Azure Kinect talking to a Windows GTX 1080 laptop running Kinect SDK in Unity and then send data to an M3 Max Mac over UDP. This works for skeleton data, but I'd love to be able to send video and point cloud data like this - which doesn't seem possible with this setup. On the Mac I am picking up the data in Processing 4.3 (Apple Silicon). Note the latest Mac OS upgrade 14.4.1 seems to have totally broken USB camera input, so not sure if that would represent a further barrier to getting an Orbbec to work with a Mac. I'm having to use Continuity camera to get video input to correlate to the Kinect skeleton data (not a sustainable solution).

from orbbecsdk.

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.