View Single Post
  #6   Spotlight this post!  
Unread 21-01-2017, 20:49
blueboss blueboss is offline
Registered User
FRC #4904
 
Join Date: Jan 2016
Location: Bay Area, California
Posts: 4
blueboss is an unknown quantity at this point
Re: Running GRIP on Raspberry Pi 3

List of things I think could cause this (in order of likelihood):
  1. The code is different. My team missed this during some tests. Be absolutely certain that the way you are receiving an image and processing it is exactly the same on the pi as it is on your PC. Copy all the code over.
  2. The image is different. Perhaps something messed up because the pi has a different view, webcam, or camera settings. Make sure they are identical. Try using a sample image to ensure this.
  3. The camera on the pi isn't sending an image (unlikely). If it worked on the pi in the past this is probably not the case. You might want to test it anyways.
  4. Your OpenCV is not the same version across your devices
    You can test this with
    Code:
    cv2.__version__
    in python or
    Code:
    CV_VERSION
    in C++
  5. OpenCV works differently on the pi. My team has not encountered any difference in running generated GRIP code on different devices (including the pi and a Mac), but I cannot be certain.
Let me know if this helps.
Good luck!
-Team 4904
Reply With Quote