From: Gaurav Kataria (gauravk@andrew.cmu.edu)
Date: 01/29/03
Thanks! That works. So it had to do with the size of shared memory buffer.
Gaurav
On Wed, 29 Jan 2003, James Newsome wrote:
> I had a problem with this too. I got it to work by editing
> IRISNET/SA/IrisWebcam/showImage.cc
>
> I changed line 65 from
> shmid = shmget(shm_key, 1228860, 0777);
> to
> shmid = shmget(shm_key, 921672, 0777);
>
> Then just 'make' in that directory. Hope this helps.
>
> Jim
>
> On Wed, 29 Jan 2003, Gaurav Kataria wrote:
>
> >
> > Suman,
> >
> > The showImage doesn't work. I am still getting no image displayed. It says
> > reading from shared memory with SHM_KEY=75...but does not display.
> >
> > Gaurav
> >
> > On Tue, 28 Jan 2003, Suman Nath wrote:
> >
> > >
> > > To use showImage, you first need to load an image into the shared memory
> > > with key=75. The image should be of resolution 640x480. You can use the
> > > images in SA/IrisWebcam/images directory.
> > >
> > > After you have loaded the image into shared memory, you can use the
> > > showImage to see the image.
> > >
> > >
> > >
> > > On Tue, 28 Jan 2003, Gaurav Kataria wrote:
> > >
> > > >
> > > > Thanks! It's ok now. Could you solve another problem for me? While using
> > > > showImage- it shows
> > > >
> > > > Reading from the shared memory with SHM_KEY=75. To use different SHM_KEY,
> > > > use 's[irisnet@localhost IrisWebcam]$ ing shared segment
> > > >
> > > > It does not display the image. Do I have to setup a viewer? Or is it
> > > > because of the Camstream not being properly installed? Or something else?
> > > >
> > > > Thanks,
> > > > Gaurav
> > > >
> >
> >
>
>
>
This archive was generated by hypermail 2.1.5 : 01/29/03 EST