Search found 3446 matches

by BasicCoder2
Feb 17, 2010 22:24
Forum: Beginners
Topic: Help needed to modify D.J.Peter's webcam code
Replies: 5
Views: 1867

Help needed to modify D.J.Peter's webcam code

This is the C++ code I wish to emulate in FreeBasic except I am not using the SDL for image display, /* "multicap", multiple capture example for ESCAPI */ #include <windows.h> #include <stdlib.h> #include "SDL.h" #include "escapi.h" SDL_Surface *screen; // The display s...
by BasicCoder2
Feb 17, 2010 20:18
Forum: Beginners
Topic: Easy Webcam - uses dll
Replies: 49
Views: 14751

I got one question left: In my former organisation I was using à Python Lib wich allowed me to have those functions very usefull for enhancing the camera: cam = Device() cam.setResolution(640,480) cam.displayCaptureFilterProperties() cam.displayCapturePinProperties() Is there something similar for ...
by BasicCoder2
Feb 16, 2010 20:14
Forum: Beginners
Topic: Easy Webcam - uses dll
Replies: 49
Views: 14751

One more question (not a discussion...): Sometime I'looking forward to loading a jpeg image in place of the video image. Is Bload suitable ? Have you got a sample which fits with the code you gave me? - Loading a jpeg image - ... my stuff with it - printing some lines on it And: About Screenres, 80...
by BasicCoder2
Feb 16, 2010 5:53
Forum: Beginners
Topic: Easy Webcam - uses dll
Replies: 49
Views: 14751

John, My project is the opposite of computer games: detect, (and not create) an object in a picture. we call it "reconnaissance d'image" in French. I'm training with lines , and numbers or letters for the moment... Isn't what you've done ? Not so much what I have done, rather one of the things I wo...
by BasicCoder2
Feb 15, 2010 21:48
Forum: Beginners
Topic: Easy Webcam - uses dll
Replies: 49
Views: 14751

> Welcome Japan with your red circle! It was taken from the HELP in FIDE. > Underline i.e. draw lines along some straight edges, > and compute some axis. Reason why your samples make > sense for me. Still don't understand what straight edges you are referring to. > I hope not have to appeal to you f...
by BasicCoder2
Feb 15, 2010 20:20
Forum: Beginners
Topic: Easy Webcam - uses dll
Replies: 49
Views: 14751

Well BasicCoder2, Please, I built à program which analysises the picture and I need to underline some edges with different colored lines. Could you provide me a sample where you draw for instance a line (from x1, y1 to x2, y2, with à choiced color) in your subdisplayImage(image1()) I don't know if ...
by BasicCoder2
Feb 14, 2010 23:47
Forum: Beginners
Topic: Easy Webcam - uses dll
Replies: 49
Views: 14751

I can only show how I do it as I am not familiar with tinyptc. I think the INPUT command would conflict with INKEY$ #include "escapi.bi" Const iWIDTH = 640 Const iHEIGHT = 480 'Const iWIDTH = 320 'Const iHEIGHT = 240 Dim As Integer nDevices=setupESCAPI() If nDevices<1 Then Print &q...
by BasicCoder2
Oct 29, 2009 20:58
Forum: General
Topic: C Style
Replies: 14
Views: 1472

Roland007 wrote:@jevans4949

I+=1, has never been a part of basic, but it works.

Cheers


I never understood the point in it? What is wrong with I = I + 1?
Does it perhaps compile to a machine code to increment I?
If so why not just type inc I?

BC2
by BasicCoder2
Oct 26, 2009 22:14
Forum: Windows
Topic: How to install FreeBasic update?
Replies: 10
Views: 2216

Imortis wrote:You can download the latest SVN build from here: http://www.freebasic.net/forum/viewtopic.php?t=12614

If is in a 7z archive. Just extract over the top of your current install.


Thank you. It worked!

BC2
by BasicCoder2
Oct 26, 2009 20:21
Forum: Windows
Topic: How to install FreeBasic update?
Replies: 10
Views: 2216

vdecampo wrote:Have you checked to make sure that 640x480x32 is a supported gfx mode? It is not likely, but worth checking.

-Vince


It works fine on the old Windows XP computer just not on the Dell mini Windows XP computer.

BC2
by BasicCoder2
Oct 26, 2009 20:19
Forum: Windows
Topic: How to install FreeBasic update?
Replies: 10
Views: 2216

I'm not aware of any graphics regessions since 0.15b, but can you try the latest SVN build for Windows? There have been some fixes to the graphics mode since the last release. I am not that much of an expert that I would know how to try a SVN build (whatever that is). I just downloaded the install ...
by BasicCoder2
Oct 23, 2009 5:49
Forum: Windows
Topic: How to install FreeBasic update?
Replies: 10
Views: 2216

The problem appears to be with the graphic commands. If I comment out the first line the program will run as expected in a DOS window. However with the graphic command I get the the Windows error message when I compile/run the program although if I simply compile I get no errors. screenres 640,480,3...
by BasicCoder2
Oct 22, 2009 20:29
Forum: Windows
Topic: How to install FreeBasic update?
Replies: 10
Views: 2216

How to install FreeBasic update?

I am trying to install FBide and FreeBASIC on a mini computer that uses Windows XP. I installed, FBide_0.4.6_FreeBASIC_0.15 and it worked fine. But how do I update it using the install, FreeBASIC-v0.20.0b-win32 I ran this install program to the same folder, C:\FreeBasic but when I run/compile a prog...
by BasicCoder2
Sep 15, 2009 2:32
Forum: Beginners
Topic: Easy Webcam - uses dll
Replies: 49
Views: 14751

adx wrote: Also thanks for your sample code - nice and clear.


You can thank D.J.Peters for the code it isn't mine.
by BasicCoder2
Sep 14, 2009 20:32
Forum: Beginners
Topic: Easy Webcam - uses dll
Replies: 49
Views: 14751

Hi people - just "revitalising" this thread. Well not really, I found the ESCAPI lib a few months ago and it instantly ended a lot of frustration. Should have known to try FB first. One thing though - I never got it working in 640*480. I can get it scaled to that size, but the data always appears t...

Go to advanced search