Answers.Body: <p>I would go and give a try to leJOS <a href="http://lejos.org/" rel="nofollow">http://lejos.org/</a> if you can write Java.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-07-18T18:54:17.127Z
Answers.Text: Yeah, I ended up using leJOS. Thanks anyway.
Answers.UserDisplayName: Prateek Kulkarni
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-06-10T14:48:17.583Z
Answers.LastActivityDate: 2014-06-10T14:48:17.583Z
Answers.UserDisplayName: Miguel
Answers.Body: <p>IMHO your best bet is to use Mindsensors' <a href="http://www.mindsensors.com/index.php?module=pagemaster&amp;PAGE_user_op=view_page&amp;PAGE_id=78" rel="nofollow">NXTCam</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2013-07-31T12:40:08.133Z
Answers.Text: Yeah. But the communication can only be between the brick and NXTCam right? I can't do complex processing on the brick. I need a computer to do that.
Answers.UserDisplayName: Prateek Kulkarni
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2013-10-11T14:30:53.793Z
Answers.Text: @PrateekKulkarni Use Bluetooth and Java.
Answers.UserDisplayName: Timtech
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2013-07-28T18:03:27.963Z
Answers.LastActivityDate: 2013-07-28T18:03:27.963Z
Answers.UserDisplayName: Philo
Answers.Body: <p>If you could use a PC as intelligent robot brick, I would suggest you:</p>
  
  <ul>
  <li>standard web-cam </li>
  <li>OpenCV (for image processing)</li>
  <li><a href="https://code.google.com/p/nxt-python/" rel="nofollow">nxt-python</a></li>
  </ul>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-05-10T09:38:33.377Z
Answers.LastActivityDate: 2014-05-10T09:38:33.377Z
Answers.UserDisplayName: Alex
Body: <p>I very recently started playing with Mindstorms and have used the sensors that was provided along with the NXT 2.0 set. I'm planning to work on something on the lines of image processing and I need a camera for this. Is there a way I can interface the NXT Brick with a webcam so that the Brick can send instructions to the webcam as to when to capture the image? Are there other better methods of using webcams and Mindstorms together?</p>
  
  <p>Anything along those lines would be helpful. Any pointers to good reading materials would also be helpful.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2013-07-29T10:10:34.060Z
Comments.Text: The original Mindstorm's had the "Vision Command" extension that enabled you to use a LEGO-ised webcam with your RCX brink - however the USB cam needed to be attached to the PC, which rather limited the movement, and then the VC software interfaced with the RCX for you.
Comments.UserDisplayName: Zhaph - Ben Duguid
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2013-07-31T11:53:56.900Z
Comments.Text: What do you want to do? The NXT processing power and memory is limited after all. Do you want to have the webcam connected directly to the NXT, or will it be connected to a computer? If you go with the latter it is highly language specific, as you need libraries to interact with the NXT and the webcam. If you need the first I think NXTCam is the only option currently.
Comments.UserDisplayName: Sebastian Wahl
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2013-07-31T12:37:54.513Z
Comments.Text: The latter, most probably. While I haven't thought through it, I was thinking if I could use a phone to capture an image. For example, the brick will trigger an app on the phone via Bluetooth (or something else?). The app will switch on the camera, take the picture and do something with it. Or if I use a webcam, it may just stream a video to my computer or something. This maybe just one of the things that can be done. I don't know.
Comments.UserDisplayName: Prateek Kulkarni
Tags: <nxt><mindstorms>
Title: Interfacing Mindstorms NXT 2.0 with webcam
UserDisplayName: Prateek Kulkarni
ThreadText: # Interfacing Mindstorms NXT 2.0 with webcam
  
  (Asked by: username_0 on 2013-07-26)
  
  I very recently started playing with Mindstorms and have used the sensors that was provided along with the NXT 2.0 set. I'm planning to work on something on the lines of image processing and I need a camera for this. Is there a way I can interface the NXT Brick with a webcam so that the Brick can send instructions to the webcam as to when to capture the image? Are there other better methods of using webcams and Mindstorms together?
  
  Anything along those lines would be helpful. Any pointers to good reading materials would also be helpful.
  
  **Tags:** nxt, mindstorms
  
  > **Comments:**
  > **username_1**: The original Mindstorm's had the "Vision Command" extension that enabled you to use a LEGO-ised webcam with your RCX brink - however the USB cam needed to be attached to the PC, which rather limited the movement, and then the VC software interfaced with the RCX for you.  
  > **username_2**: What do you want to do? The NXT processing power and memory is limited after all. Do you want to have the webcam connected directly to the NXT, or will it be connected to a computer? If you go with the latter it is highly language specific, as you need libraries to interact with the NXT and the webcam. If you need the first I think NXTCam is the only option currently.  
  > **username_0**: The latter, most probably. While I haven't thought through it, I was thinking if I could use a phone to capture an image. For example, the brick will trigger an app on the phone via Bluetooth (or something else?). The app will switch on the camera, take the picture and do something with it. Or if I use a webcam, it may just stream a video to my computer or something. This maybe just one of the things that can be done. I don't know.  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_3 on 2014-06-10. Score: 1
  
  I would go and give a try to leJOS <http://lejos.org/> if you can write Java.
  
  > **Comments:**
  > **username_0**: Yeah, I ended up using leJOS. Thanks anyway.  
  
  ---
  
  ### Answer by username_4 on 2013-07-28. Score: 0
  
  IMHO your best bet is to use Mindsensors' [NXTCam](http://www.mindsensors.com/index.php?module=pagemaster&PAGE_user_op=view_page&PAGE_id=78)
  
  > **Comments:**
  > **username_0**: Yeah. But the communication can only be between the brick and NXTCam right? I can't do complex processing on the brick. I need a computer to do that.  
  > **username_5**: @username_0 Use Bluetooth and Java.  
  
  ---
  
  ### Answer by username_6 on 2014-05-10. Score: 0
  
  If you could use a PC as intelligent robot brick, I would suggest you:
  
  * standard web-cam
  * OpenCV (for image processing)
  * [nxt-python](https://code.google.com/p/nxt-python/)
  
  
  ---
  
  