View Single Post
  #9   Spotlight this post!  
Unread 20-05-2016, 22:04
Ben Wolsieffer Ben Wolsieffer is offline
Dartmouth 2020
AKA: lopsided98
FRC #2084 (Robots by the C)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Manchester, MA (Hanover, NH)
Posts: 520
Ben Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud of
Re: Vision Summer Project

Quote:
Originally Posted by vScourge View Post
Is there a build of OpenCV that fully utilizes the Jetson's GPU? If there still isn't, I'm not sure why a Jetson would be preferable over the smaller, easier-to-power RPi2.

I would be glad to be mistaken, however, since we have a Jetson TK1 collecting dust.
I'm not sure what you mean by "fully utilizes," but if you install the CUDA libraries on the Jetson and then compile OpenCV with CUDA support enabled, you can write a vision program that uses the GPU. AFAIK, there are no wrappers available for the GPU functions in Python, so that part would have to be written in C++.

I used this approach this year, writing most of our vision code in Java with a small JNI library in C++ doing some processing on the GPU. This significantly helped with performance, boosting our framerate from around 20 FPS to 30 FPS (it would have gone higher but was limited by the camera).

There is also the OpenCV4Tegra library, which includes some CPU optimizations for the Jetson (NEON, SIMD, multithreading), and I believe it also includes CUDA support.

Also, powering the Jetson TK1 (I've heard the TX1 is more sensitive) is not very hard. We used this regulator and have had no problems with it all season.
__________________



2016 North Shore District - Semifinalists and Excellence in Engineering Award
2015 Northeastern University District - Semifinalists and Creativity Award
2014 Granite State District - Semifinalists and Innovation in Control Award
2012 Boston Regional - Finalists

Last edited by Ben Wolsieffer : 20-05-2016 at 22:08.
Reply With Quote