View Single Post
  #3   Spotlight this post!  
Unread 10-10-2016, 01:40
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,069
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: Team 254 Presents: FRC 2016 Code

Quote:
Originally Posted by kylelanman View Post
I do have one question. Why were JNI and the C++ OpenCV libs used oppose to the Java OpenCV libs? If I recall correctly Jared said at the world championship talk that the performance between the C++, Java, and python OpenCV libs were essentially the same.
3 reasons:

1) We found that of the various methods available for grabbing and decoding an image out of the camera buffer, this was the fastest.

2) It let us minimize memory allocation and buffer copying in the most performance-critical part of the code.

3) We already had a working C++ vision prototype for the Tegra, so all we had to do was copy and paste.
Reply With Quote