CMUcam4 Graphical User Interface

Version 60 (Kwabena Agyeman, 03/11/2013 07:32 pm)

1 6 Kwabena Agyeman
h1. CMUcam4 Graphical User Interface
2 1 Kwabena Agyeman
3 1 Kwabena Agyeman
h3. *Windows Setup*
4 7 Kwabena Agyeman
5 26 Kwabena Agyeman
Follow the steps below to setup the CMUcam4GUI for Windows:
6 10 Kwabena Agyeman
7 33 Kwabena Agyeman
p(. 1. Download the "CMUcam4GUI.zip":/attachments/783/CMUcam4GUI.zip file
8 33 Kwabena Agyeman
    2. Unzip it and extract the contents
9 33 Kwabena Agyeman
    3. Run the CMUcam4GUI.exe file
10 25 Kwabena Agyeman
11 38 Kwabena Agyeman
Note: "libgcc_s_dw2-1.dll, mingwm10.dll, QtCore4.dll, and QtGui4.dll must be in the same folder as CMUcam4GUI.exe
12 26 Kwabena Agyeman
13 1 Kwabena Agyeman
h3. *Linux Setup*
14 25 Kwabena Agyeman
15 26 Kwabena Agyeman
Follow the steps below to setup the CMUcam4GUI for Linux:
16 10 Kwabena Agyeman
17 31 Kwabena Agyeman
p(. 1. Add your user name to the dialout group
18 26 Kwabena Agyeman
19 1 Kwabena Agyeman
<pre>
20 1 Kwabena Agyeman
sudo adduser username dialout
21 1 Kwabena Agyeman
</pre>
22 10 Kwabena Agyeman
23 31 Kwabena Agyeman
p(. 2. Now verify by typing
24 1 Kwabena Agyeman
25 1 Kwabena Agyeman
<pre>
26 1 Kwabena Agyeman
groups username
27 1 Kwabena Agyeman
</pre>
28 24 Kwabena Agyeman
29 29 Kwabena Agyeman
p(. 3. Now log out and then log back in
30 40 Kwabena Agyeman
    4. Download the "CMUcam4GUI.zip":/attachments/784/CMUcam4GUI.zip file
31 30 Kwabena Agyeman
    5. Unzip it and extract the contents
32 30 Kwabena Agyeman
    6. Run the CMUcam4GUI file
33 24 Kwabena Agyeman
34 57 Kwabena Agyeman
*There might be some shared library issues with this version... if it doesn't run... please use the windows version - Kwabena
35 57 Kwabena Agyeman
http://www.trinitydesktop.org/docs/qt4/deployment-x11.html*
36 54 Kwabena Agyeman
37 24 Kwabena Agyeman
h3. *Macintosh Setup*
38 17 Kwabena Agyeman
39 26 Kwabena Agyeman
Follow the steps below to setup the CMUcam4GUI for Macintosh:
40 26 Kwabena Agyeman
41 60 Kwabena Agyeman
p(. 1. Install the QtSDK for Mac "here":http://www.developer.nokia.com/info/sw.nokia.com/id/da8df288-e615-443d-be5c-00c8a72435f8/Qt_SDK.html.
42 60 Kwabena Agyeman
    2. Download the "CMUcam4GUI Source":http://cmucam.org/attachments/785/CMUcam4GUI.zip
43 60 Kwabena Agyeman
    3. Open the CMUcam4GUI.pro file using QtCreator
44 60 Kwabena Agyeman
    4. Run the CMUcam4GUI in release mode (debug mode works too). 
45 1 Kwabena Agyeman
46 60 Kwabena Agyeman
_Question: Why don't you have a prebuilt MAC application?_
47 51 Kwabena Agyeman
48 60 Kwabena Agyeman
_Answer: Kwabena, the CMUcam4 developer, does not have a MAC_ 
49 59 Kwabena Agyeman
50 59 Kwabena Agyeman
Note: The Macintosh version runs at a maximum baud rate of 115,000 BPS versus the Windows and Linux versions that run at a maximum baud rate of 230,400 BPS. If you can, please use the Windows or Linux versions for faster functionality.
51 55 Kwabena Agyeman
52 1 Kwabena Agyeman
h3. *CMUcam4GUI Manual*
53 1 Kwabena Agyeman
54 1 Kwabena Agyeman
_Coming Soon_
55 45 Kwabena Agyeman
56 45 Kwabena Agyeman
If you encounter errors trying to connect to the CMUcam4, unplug your USB to serial device from the PC and plug it back in again. Also, make sure your serial converter can handle 115200 BPS and 230400 BPS. If you are using a FTDI chip then you'll be fine.
57 37 Kwabena Agyeman
58 39 Kwabena Agyeman
h3. *CMUcam4GUI Source*
59 43 Kwabena Agyeman
60 43 Kwabena Agyeman
Click "here":/attachments/785/CMUcam4GUI.zip to download the source code for the CMUcam4GUI.
61 43 Kwabena Agyeman
62 46 Kwabena Agyeman
You will need the Qt 1.2.1 SDK (Desktop 4.8.1) to compile the code which you can download "here":http://www.developer.nokia.com/info/sw.nokia.com/id/da8df288-e615-443d-be5c-00c8a72435f8/Qt_SDK.html.