title: How do I access remote Raspberry Pi camera over the network using Python?
body: <p>I've made a simple pygame application to access my local machine camera as follows :</p>
  
  <pre><code>import pygame,sys
  import pygame.camera
  from pygame.locals import *
  
  pygame.init()
  pygame.camera.init()
  stage= pygame.display.set_mode((640,480))
  cameras = pygame.camera.list_cameras()
  
  cam=pygame.camera.Camera(cameras[0],(640,480))
  
  cam.start()
  
  while 1:
      image=cam.get_image()
      stage.blit(image,(0,0))
      pygame.display.update()
      for e in pygame.event.get():
          if e.type==pygame.QUIT:
              pygame.quit()
              quit()
  </code></pre>
  
  <p>I've been looking around for way for me to access my Raspberry Pi camera feed which is located in my Local Network, what I was hopping to be possible is not changing much of my current code and only change the line :
  <code>cameras = pygame.camera.list_cameras()</code> where it find the RPi camera on the network instead of my local machine by adding the RPi IP and login information, However I'm starting to realize that this maybe not possible the way I want it, but if there is a similar way that doesn't deal with VLC player or any other GUI application would be fine for me because I intend to use as little as possible of the RPi memory and processor, is there a way close to what I'm hopping for?</p>