Another Webcam Demo Program

Share your advanced PureBasic knowledge/code with the community.
zefiro_flashparty
User
User
Posts: 74
Joined: Fri Mar 04, 2005 7:46 pm
Location: argentina

Re: Another Webcam Demo Program

Post by zefiro_flashparty »

i test escapi21
mm error in the line
PokeA(x3+2,gammaTable(p1 >> 16))

[13:13:34] [ERROR] Array index out of bounds.

if silence the line works but it looks strange
I do not know if by the colors,
the example below that turns is very funny haha
I was looking at the line of rotation

RotateCoordinates(scp\mWidth/2, scp\mHeight/2, now / 10)

I see that if I do not use it, the image is inverted upwards,
How can I rotate it 180º?
RotateCoordinates(scp\mWidth/2, scp\mHeight/2, 180 )
ah!
Amd Vishera fx8350 ,16Gbram, Gtx650 ti, 2gb,Win 10pro. 13tbs. 8)
User avatar
Lunasole
Addict
Addict
Posts: 1091
Joined: Mon Oct 26, 2015 2:55 am
Location: UA
Contact:

Re: Another Webcam Demo Program

Post by Lunasole »

Very nice. I was looking for some simple stuff to capture webcam images (for another own foolish program), thank a lot for pointing me to that ESCAPI.

PS. Looks like they removed Purebasic examples of version 3, but one from v2 works fine with few changes.
"W̷i̷s̷h̷i̷n̷g o̷n a s̷t̷a̷r"
Post Reply