Code Monkey home page Code Monkey logo

Comments (10)

jonnew avatar jonnew commented on August 24, 2024

Hmm, I have not tried. All my machines are 14.04 LTS. The Travis build is on 12.04 LTS.

Both of those libraries seem like they are only for the evaluation GUI, called 'flycap' -- its pretty funny that they have an SDK wrapped up with their evaluation GUI.

To be clear, you are getting these dependency errors when running the install script provided with the FlyCapture SDK, correct?

from oat.

mmyros avatar mmyros commented on August 24, 2024

Yes, install_flycapture.sh.

I contacted their support and it appears that I will have to downgrade:

Ubuntu 15.10 removed the libgtkmm and libglademm packages which are
dependencies of our FlyCapture2, and thus make them incompatible. We will
eventually support Ubuntu 16.04, but currently the only solution is to roll
back to 14.04. We are sorry for any inconvenience that might caused.

I have put you in the list and will provide you an update as soon as we have a
new SDK for 16.04LTS available.

Maybe there is a way to bypass installation of some components, but it looks like each one checks for all the others to be present. Anyway, thanks for the feedback.

from oat.

mmyros avatar mmyros commented on August 24, 2024

I got around those issues by adding trusty repository in sources.list and using aptitude to resolve dependencies. Some packages related to Point Grey GUI did not install, but what did install was enough to compile Oat with pointgrey support.

The resolution of the camera is apparently too high though, the processing lags even without MOG. It seems like object detection is what is slowing things down. Will CUDA help with this?

Thanks!

from oat.

jonnew avatar jonnew commented on August 24, 2024

Great, maybe you could add that info to the README.md and send a pull request if you have time.

With respect to the lag, there are some components in Oat that are worse than others. This is quantified here: https://github.com/jonnew/Oat/blob/master/test/perf/results.md

  1. What camera are you using and what is its resolution?
  2. How fast can you serve frames with no processing? Are you sure that object detection is whats slowing things down?
  3. If it really is the resolution, you can down-sample on the FPGA in the camera for a huge speedup at the cost of lower effective resolution.
  4. What frame rate are you after?

from oat.

mmyros avatar mmyros commented on August 24, 2024

I canl pull request, but it's kind of hacky. I had to remove unity and aptitude, not sure I'd recommend putting it in readme.

  1. I am using a 5MP,2448 x 2048 Blackfly https://www.ptgrey.com/blackfly-50-mp-color-gige-poe-sony-imx264-2
  2. fast, 22 fps I think. MOG slows it down dramatically, and object detection does though not as much. I did not time it but MOG+detection feels like 1fps, and bsub+detection seems like 5 fps.
  3. I'd prefer to keep the resolution if possible, we ordered a Point Grey for that reason. Maybe we should just swap the camera for a lower-resolution, faster one if there is no other way.
  4. I just want 22 fps

from oat.

jonnew avatar jonnew commented on August 24, 2024

I have a bunch to say to this, but can you open a new issue?

from oat.

mmyros avatar mmyros commented on August 24, 2024

#14

from oat.

jonnew avatar jonnew commented on August 24, 2024

Thanks!

from oat.

mmyros avatar mmyros commented on August 24, 2024

Just so this is documented, I was able to compile the new version of Point Grey SDK (flycapture2-2.10.3.169-amd64-pkg.tgz) with no issues on both Ubuntu 16 and Debian testing.

from oat.

jonnew avatar jonnew commented on August 24, 2024

Excellent thanks for letting me know!

from oat.

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.