Go to Post Sometimes, it takes years to gain respect and to learn to understand the opportunities that avail themselves to those who pay attention, are willing to learn from the best, and dig deeper into understanding what it means to be a competitive FRC team. - JaneYoung [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 09-02-2017, 11:15
arushshah1 arushshah1 is offline
Registered User
FRC #6203
 
Join Date: Mar 2016
Location: Hackensack, NJ
Posts: 16
arushshah1 is an unknown quantity at this point
Jetson GPU Usage

We've bought a Jetson TX1 board to do our vision work this year and I had a question on its benefits. We're not actually using the GPU module because we're not using any of the vision algorithms that it can accelerate. Given this, is there a benefit of doing vision on the Jetson over a cheaper board like the RPI3?
Reply With Quote
  #2   Spotlight this post!  
Unread 09-02-2017, 12:41
solomondg solomondg is offline
Registered User
FRC #2898 (Flying Hedgehogs)
Team Role: Programmer
 
Join Date: Aug 2016
Rookie Year: 2016
Location: Portland, Oregon
Posts: 14
solomondg is an unknown quantity at this point
Re: Jetson GPU Usage

Well the CPU is a bit more powerful than the rPi 3's, but that's about it. Comparing the jetson to an Odroid XU4 or C2 if you're not using GPU, the XU4 or C2 wins generally.
Reply With Quote
  #3   Spotlight this post!  
Unread 09-02-2017, 13:22
SamCarlberg's Avatar
SamCarlberg SamCarlberg is offline
GRIP, WPILib. 2084 alum
FRC #2084
Team Role: Mentor
 
Join Date: Nov 2015
Rookie Year: 2009
Location: MA
Posts: 164
SamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to behold
Re: Jetson GPU Usage

Quote:
Originally Posted by arushshah1 View Post
we're not using any of the vision algorithms that it can accelerate.
I highly doubt that. Thresholds, desaturates, and blurs are very common operations that can be GPU accelerated.
__________________
WPILib
GRIP, RobotBuilder
Reply With Quote
  #4   Spotlight this post!  
Unread Yesterday, 22:01
arushshah1 arushshah1 is offline
Registered User
FRC #6203
 
Join Date: Mar 2016
Location: Hackensack, NJ
Posts: 16
arushshah1 is an unknown quantity at this point
Re: Jetson GPU Usage

Also, we're writing our CV code in python but I can't find any gpu functions written for python. Are there wrappers available?
Reply With Quote
  #5   Spotlight this post!  
Unread Yesterday, 22:17
SamCarlberg's Avatar
SamCarlberg SamCarlberg is offline
GRIP, WPILib. 2084 alum
FRC #2084
Team Role: Mentor
 
Join Date: Nov 2015
Rookie Year: 2009
Location: MA
Posts: 164
SamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to behold
Re: Jetson GPU Usage

Quote:
Originally Posted by arushshah1 View Post
Also, we're writing our CV code in python but I can't find any gpu functions written for python. Are there wrappers available?
No. The python bindings just got OpenCL support, but the Jetson doesn't support it. You'd have to write your own bindings for the CUDA functions.
__________________
WPILib
GRIP, RobotBuilder
Reply With Quote
  #6   Spotlight this post!  
Unread Yesterday, 22:24
slibert slibert is offline
Software Mentor
AKA: Scott Libert
FRC #2465 (Kauaibots)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2005
Location: Kauai, Hawaii
Posts: 366
slibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud of
Re: Jetson GPU Usage

Quote:
Originally Posted by arushshah1 View Post
We've bought a Jetson TX1 board to do our vision work this year and I had a question on its benefits. We're not actually using the GPU module because we're not using any of the vision algorithms that it can accelerate. Given this, is there a benefit of doing vision on the Jetson over a cheaper board like the RPI3?
Without doing lot of complicated moving of memory from the CPU to the GPU, the one thing that seems to be offloaded using the built-in CUDA version of the OpenCV on Jetson is the decode of the encoded video from the camera, and I believe also the encode of the video (if you want to create a JPEG image and write it to disk, so a MJPG streamer can stream it to the driver station).

It's not clear how that compares to the Raspberry Pi 3 yet.

We are transitioning from a Jetson TK1 to a Raspberry Pi 3 this year, and one of my notes is to get performance stats; if I get to that I will post them.

- scott
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:52.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi