the idea was to unload that work from the camera, and leave all the important processing to the external computer, so the camera was more free to do the processing and the downloading of frames with higher quality, like Flavio Soares does, he deactivates the php functions of the camera so it can record at a higher quality jpeg compression. in my case I wanted to control de camera by sending to it requests which were small string lines with the parameters and the new values. as it is right now, when you send something to the camera the camera downloads the file and the whole process can last for 1 second to 1 second and a half, that makes controlling the camera not a real time process because of the delay between what you request to what happens in the camera. what would be cool would be to have an abstraction layer that would cover that kind of usage of the camera, for rapid interaction with the camera.
2012/12/13 support-list <support-list@support.elphel.com> > ** > > The user would be controlling his sets of controls and the camera would > be following him, reacting to it's demands. > > With wget this is more difficult because the change isn't > instantaneously, as it needs to download a file with changes in order to > implement the changes in the camera. > > Biel, > > I'm confused. There are two types of "communications": > 1 - between your custom script running in the camera, and > 2 - between the remote user and the script. > > For 1 you may use "wget http://localhost..." if you want to perform some > camera control from the shell script in the camera, if you are running PHP > script in the camera - you do not need that, you can use elphel_*() > functions directly > For 2: It is probably possible to use telnet to send remote automatic > commands from your python program to the camera, but I doubt it is optimal > - it is probably used to control the devices that have only telnet access - > like my satellite dish on our RV. I believe more convenient would be to > send normal HTTP GET or POST requests like your Gmail page communicates > with the server(s) > > Andrey > > > > _______________________________________________ > Support-list mailing list > Support-list@support.elphel.com > http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com > >
_______________________________________________ Support-list mailing list Support-list@support.elphel.com http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com