Thank you!!!
I had to remove "EnableExplicit" else I PB opens up escapi.pb and gives an error "Line 49: With 'EnableExplicit', variables have to be declared: capdll.
It still worked (saved the image) - not sure what EnableExplicit is - will have to read up on that.
thank you!!!!
Search found 6 matches
- Thu Dec 07, 2017 3:22 am
- Forum: Coding Questions
- Topic: Cam Question - Escapi
- Replies: 13
- Views: 4228
- Tue Dec 05, 2017 6:47 pm
- Forum: Coding Questions
- Topic: Cam Question - Escapi
- Replies: 13
- Views: 4228
Re: Cam Question - Escapi
Hi All. I'm still struggling with this - sorry for being such a rookie on this.
At best I get a stored black image. I've been reading up as much as I can but still can not figure this out.
Just trying to be able to store a single shot image from the webcam to a .jpg file.
Anyone here have working ...
At best I get a stored black image. I've been reading up as much as I can but still can not figure this out.
Just trying to be able to store a single shot image from the webcam to a .jpg file.
Anyone here have working ...
- Mon Nov 06, 2017 3:31 pm
- Forum: Coding Questions
- Topic: Cam Question - Escapi
- Replies: 13
- Views: 4228
Re: Cam Question - Escapi
Gotcha and thank you!!
I've been reading and trying to appreciate how the code works.
Would the proper line be:
Or am I still misunderstanding where the image is stored in memory?
I've been reading and trying to appreciate how the code works.
Would the proper line be:
Code: Select all
SaveImage(1, "c:\tmp\CamCapture.jpg", image)
- Sun Nov 05, 2017 10:53 pm
- Forum: Coding Questions
- Topic: Cam Question - Escapi
- Replies: 13
- Views: 4228
Re: Cam Question - Escapi
I got an error because width was 0 so I populated a size there.
All I get is a black image.
Your code does not call for ESCAPI, I thought that was needed.
All I get is a black image.
Your code does not call for ESCAPI, I thought that was needed.
- Sun Nov 05, 2017 9:01 pm
- Forum: Coding Questions
- Topic: Cam Question - Escapi
- Replies: 13
- Views: 4228
Re: Cam Question - Escapi
Thanks. Clearly I don't know how this exactly works. I tried modifying the code so that all that it does is take a single snapshot, then ends.
All I'm getting is a saved .jpg file that is completely black. Did I miss something in the code? I'm trying to accomplish this without opening a image ...
All I'm getting is a saved .jpg file that is completely black. Did I miss something in the code? I'm trying to accomplish this without opening a image ...
- Thu Nov 02, 2017 2:43 am
- Forum: Coding Questions
- Topic: Cam Question - Escapi
- Replies: 13
- Views: 4228
Cam Question - Escapi
Can anyone help me adjust the code below so that all it does is save a single snapshot picture to file? (jpg etc.)
Without opening up a screen window is preferred.
;WORKS WITH ESCAPI
;UPDATED 8/28/2017
;PRESS CTL-Q TO QUIT
;INCORPORATES PROC AMP
ExamineDesktops()
gamma.f = 1.34 ;WEBCAM OUTPUT ...
Without opening up a screen window is preferred.
;WORKS WITH ESCAPI
;UPDATED 8/28/2017
;PRESS CTL-Q TO QUIT
;INCORPORATES PROC AMP
ExamineDesktops()
gamma.f = 1.34 ;WEBCAM OUTPUT ...