Re: I need to write an external for LiveCode in C++, but I doubt my ability to do it.

2016-03-09 Thread Alejandro Tejada
I found Alex Tweedly post about compiling externals using Dev-C++ :D http://lists.runrev.com/pipermail/use-livecode/2005-June/060943.html -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/I-need-to-write-an-external-for-LiveCode-in-C-but-I-doubt-my-ability-to-do

Re: I need to write an external for LiveCode in C++, but I doubt my ability to do it.

2016-03-09 Thread Alejandro Tejada
-revolution.278305.n4.nabble.com/I-need-to-write-an-external-for-LiveCode-in-C-but-I-doubt-my-ability-to-do-it-tp4702071p4702127.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com

Re: I need to write an external for LiveCode in C++, but I doubt my ability to do it.

2016-03-07 Thread Monte Goulding
> On 8 Mar 2016, at 10:32 AM, JB wrote: > > When you mention LCB is that the widget builder they > imported Foundation for? LCB is for more than just widgets > If it is and his main goal is > speed wouldn’t he be better off using a external since > they have better performance? I’m not aware

Re: I need to write an external for LiveCode in C++, but I doubt my ability to do it.

2016-03-07 Thread JB
When you mention LCB is that the widget builder they imported Foundation for? If it is and his main goal is speed wouldn’t he be better off using a external since they have better performance? John Balgenorth > On Mar 7, 2016, at 2:47 AM, Monte Goulding wrote: > > >> On 7 Mar 2016, at 9:37 P

Re: I need to write an external for LiveCode in C++, but I doubt my ability to do it.

2016-03-07 Thread Monte Goulding
> On 7 Mar 2016, at 9:37 PM, Jonathan Lynch wrote: > > I am trying to figure out how to link it to LiveCode, now. Thanks for this > pointer. You might be able to just compile the library and then hook what you need up via LCB which would be nice. There does look to be rather heavy use of struc

Re: I need to write an external for LiveCode in C++, but I doubt my ability to do it.

2016-03-07 Thread Jonathan Lynch
I have been reading about OpenCV. It sounds quite extensive!!! Can it make my morning coffee? Given all of the other functions built into it, I would not be entirely surprised. OpenCV includes facial recognition functions, which seems substantially more difficult. I am trying to figure out how to

Re: I need to write an external for LiveCode in C++, but I doubt my ability to do it.

2016-03-06 Thread Mark Wieder
On 03/06/2016 06:10 PM, Monte Goulding wrote: I might be inclined to look at an OpenCV external. I believe with OpenCV you can green screen live camera feeds so it’s pretty fast. I second the suggestion for OpenCV. It's blazingly fast and probably already has much of what you need prepackage

Re: I need to write an external for LiveCode in C++, but I doubt my ability to do it.

2016-03-06 Thread Jonathan Lynch
7;d think. >> Of course it is lossy. >> >> Simon >> >> >> >> -- >> View this message in context: >> http://runtime-revolution.278305.n4.nabble.com/I-need-to-write-an-external-for-LiveCode-in-C-but-I-doubt-my-ability-to-do-it-tp4702071p4702079.ht

Re: I need to write an external for LiveCode in C++, but I doubt my ability to do it.

2016-03-06 Thread Jonathan Lynch
pixel 1,3 green > etc. > That would increase the speed by lots I'd think. > Of course it is lossy. > > Simon > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/I-need-to-write-an-external-for-LiveCode-in-C-but-I-doubt-my

Re: I need to write an external for LiveCode in C++, but I doubt my ability to do it.

2016-03-06 Thread Monte Goulding
> On 7 Mar 2016, at 10:36 AM, Jonathan Lynch wrote: > > I will try to find a way, though. I am just hoping for advice so that I can > avoid any more blind alleys. The documentation is quite sparse for externals, however, I think that’s the way you will need to go to get the speed you need. The

Re: I need to write an external for LiveCode in C++, but I doubt my ability to do it.

2016-03-06 Thread Simon
,1 = green skip pixel 1,2 is pixel 1,3 green etc. That would increase the speed by lots I'd think. Of course it is lossy. Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/I-need-to-write-an-external-for-LiveCode-in-C-but-I-doubt-my-ability-to-do-it-t

Re: I need to write an external for LiveCode in C++, but I doubt my ability to do it.

2016-03-06 Thread Phil Davis
Jonathan, I see I am out of my league here. I'm sure others can give good advice however - this list is read by a lot of very smart people. Phil On 3/6/16 3:36 PM, Jonathan Lynch wrote: A green-screen extraction on a large image requires millions of calculations. I am not using a flood-fill

Re: I need to write an external for LiveCode in C++, but I doubt my ability to do it.

2016-03-06 Thread Jonathan Lynch
A green-screen extraction on a large image requires millions of calculations. I am not using a flood-fill based extraction, so that helps a bit, but it still requires looking at every single pixel and checking to see if the colors are within a certain range. I want to improve the algorithm, so that

Re: I need to write an external for LiveCode in C++, but I doubt my ability to do it.

2016-03-06 Thread Roland Huettmann
But I would also appreciate a reply, maybe from Peter, which is of general interest to all of us. Optimizing is one possibility, then the question about what would LC Builder accomplish, and then C++, if nothing else does the job fast enough? I am thinking about some optimisation algorithms which

Re: I need to write an external for LiveCode in C++, but I doubt my ability to do it.

2016-03-06 Thread Phil Davis
Hi Jonathan, I would start by seeing if your LC code can be optimized so the time it takes per screen is acceptable. There are many small changes a person can sometimes make to code that causes dramatic speed increases. Or is the bulk of the time spent in areas LC can't address natively? May

I need to write an external for LiveCode in C++, but I doubt my ability to do it.

2016-03-06 Thread Jonathan Lynch
Hello fellow LiveCoders, I need to write an external and it needs to be fast. It is for extracting images from a green screen. I wrote a good algorithm for this in LiveCode, but it takes 20-30 seconds to handle all of the data processing. I want to use C++ for speed advantages. I tried following