Raspberry Pi Camera Robot Kit Question

More general questions about the products we sell, or suggestions for products you'd like to see us sell go here.

Raspberry Pi Camera Robot Kit Question

Postby Medelwr » Sat Sep 27, 2014 2:58 pm

Hi,

I posted an unrelated question in the Rover 5 forum earlier but I have a question about this kit.

If I was to follow the OpenCV image processing tutorial and adding a sensor tutorial to add that functionality would this bot be completely independent in the sense that it would be able to process the images for itself and not need a PC or any user input to take pictures, process and move.

Thanks
Medelwr
 
Posts: 3
Joined: Sat Sep 27, 2014 3:27 am

Re: Raspberry Pi Camera Robot Kit Question

Postby Alan » Mon Sep 29, 2014 2:51 pm

Hi there,

Welcome to the forums. :) I'll answer this question, and then send a reply to your other question.

The example programs that are provided with the py_websockets_bot library will run both on an external PC, and on a Pi. When running the image processing and motion vector samples on the Pi, you will need to run them from the desktop to begin with, as they make use of some of the OpenCV windowing functionality to display their output (cv2.imshow etc). If remove calls to imshow etc from your programs then they will also run without an X server.

Now, having said that. You can run all of your image and sensor processing code on the Pi, but the Pi doesn't have a very powerful CPU, so it can be slow, especially when performing image processing. To help make things a bit quicker, the py_websockets_bot library provides the option to stream 'small' (160x120) images that have been scaled down on the GPU.

Hope that helps.

Regards

Alan
Alan
Site Admin
 
Posts: 311
Joined: Fri Jun 14, 2013 10:09 am


Return to Product Questions

Who is online

Users browsing this forum: No registered users and 1 guest