GigE/USB3 Vision cameras in Jitter via Aravis?
Hi all. Industrial/machine vision cameras are great for motion tracking in interactive projects, but increasingly manufacturers of these devices such as FLIR/Point Grey Research are only supporting the GigE Vision and USB3 Vision standards. jit.grab isn't able to acquire frames from devices over either of these protocols, so unfortunately those of us working with industrial cameras are stuck opting for aging Firewire or HD-SDI devices.
I got my hands on one of the new FLIR GigE cameras recently, and in researching how to work with it came across an open source C library called Aravis for capturing video from Genicam cameras. I've built and tested it on macOS 10.12.5, and have been able to get frames from the camera. Is there any possibility that anyone - either someone from C74 or a benevolent forum member with C chops - might be interested in incorporating Aravis into a future version of jit.grab or a new GigE/USB3 camera external?
i'm waiting for an object like this since a long time too! please c74 can you do it
+1
anyone in NYC area that has access to one of these cameras, please send me a message to robr at cycling74.com
[edit] looking further at this, I see it's more involved then modifying our existing jit.grab implementations to support the protocol. 3rd party external development is the probably the bet for now. I'll keep my eye on this area, but won't have time for any development any time soon.
Thanks for looking into this so quickly, Rob. I'm in Montreal, but before I saw your edit I was on the point of offering to courier you the camera. Let me know if you do wind up having time for this in the future, there's a good chance I could send you a camera to develop with.
Meantime, another path that occurred to me would be to get frames into Max via Syphon. There's an openFrameworks add-on that's a basic wrapper for Aravis (ofxAravis), and another openFrameworks Syphon add-on (ofxSyphon). I've been trying to get these two things working together, but I have no experience with openFrameworks, so it's slow going for me. If anyone who knows their way around openFrameworks is interested in pursuing this, feel free to follow up here and I can give you details on the process I've followed so far (short summary: follow the Aravis install instructions for macOS, installing the dependencies via Homebrew, and then include glib and ofxOpenCv in your Xcode project).
+ 1
+1
Support for USB3 Vision and GigE would be awesome.
Flir/Point Grey does include Windows DirectX drivers for some of their cameras. I have a USB3 Vision camera that I have been able to use in the Windows version of Max
Hi @syrinx et al.
I needed to do this, and had already done an ofApp with Syphon to get cameras. So I added Aravis support to it. It's still a little messy, but I could tidy it up and share it if others are interested.
Cheers!
Pia
That would Be AMAZING. I have a nice FLIR thermal camera and currently am resorting to things like syphon/spout/VNC to another computer
+ 1
OK, here you go: https://github.com/bltzr/Aravis2Grabbers
Let me know how this goes for you.
Hello BLTZR
With which camera gigE did you test ?
I have been using this one: https://www.flir.fr/products/blackfly-gige/?model=BFLY-PGE-13H2C-CS
but it should at least work with all BlackFly cams, I guess.
Pia
Great!
And that worked with which osx for Mac ?
I tried this on 10.14, and maybe also on 10.15 (I'm not sure)