Re: Show Image problem

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: James Newsome (jnewsome@ece.cmu.edu)
Date: 01/29/03


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
> > >
>
>


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.5 : 06/10/04 EDT