Re: [Emc-users] To Sam Sokolik re opencv on linux

2021-02-02 Thread Gene Heskett
On Sunday 31 January 2021 16:03:55 Sam Sokolik wrote:

> Ok.  I found the config/python script I was working on...  Late 2014..
> Boy.  I will put them up somewhere tonight..
>
Fooling around, trying to make it work with modern language, the first 
thing I run into seems to be a missing file:

(gladevcp:20792): libglade-WARNING **: could not find glade file 
'probe_icons/probe_screen.glade'
 GLADE VCP ERROR:With xml file: probe_icons/probe_screen.glade : could 
not create GladeXML object
:0: gladevcp exited without becoming ready

Any chance that can be found?

Thanks Sam

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] To Sam Sokolik re opencv on linux

2021-02-01 Thread Dr. Nikolaus Klepp
Anno domini 2021 Mon, 1 Feb 08:55:43 -0500
 Gene Heskett scripsit:
> On Sunday 31 January 2021 17:48:47 Sam Sokolik wrote:
> 
> > http://electronicsam.com/images/emco/terco/
> >
> Got it, thanks Sam.
> 
> > Now - iirc the capture python script is copied to usr/bin/ and made
> > executable..
> >
> > It looks like I used opencv-2.4.9  (again - it was over 6 years ago)
> 
> [...]
> 
> Cheers, Gene Heskett

Thank you from me, too.

OpenCV 2 is still working, but I've got some performance problems when the 
image has more than 10 circular objects.

Nik



-- 
Please do not email me anything that you are not comfortable also sharing with 
the NSA, CIA ...


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] To Sam Sokolik re opencv on linux

2021-02-01 Thread Gene Heskett
On Sunday 31 January 2021 17:48:47 Sam Sokolik wrote:

> http://electronicsam.com/images/emco/terco/
>
Got it, thanks Sam.

> Now - iirc the capture python script is copied to usr/bin/ and made
> executable..
>
> It looks like I used opencv-2.4.9  (again - it was over 6 years ago)

[...]

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] To Sam Sokolik re opencv on linux

2021-02-01 Thread Sam Sokolik
http://electronicsam.com/images/emco/terco/

Now - iirc the capture python script is copied to usr/bin/ and made
executable..

It looks like I used opencv-2.4.9  (again - it was over 6 years ago)

On Sun, Jan 31, 2021 at 3:03 PM Sam Sokolik  wrote:

> Ok.  I found the config/python script I was working on...  Late 2014..
> Boy.  I will put them up somewhere tonight..
>
> On Thu, Jan 28, 2021, 9:36 PM Gene Heskett  wrote:
>
>> On Thursday 28 January 2021 21:12:31 Bari wrote:
>>
>> > On 1/28/21 4:55 PM, Gene Heskett wrote:
>> > > That's not the video I saw, and can't find again. I think it was one
>> > > of yours where you were auto finding a red target dot by calculating
>> > > the offset and a button click then drove the machine at a high rate
>> > > of speed to put the red dot precisely in the cameras target circle.
>> > > Wasn't that one of yours video's?
>> >
>> > This one maybe?
>> >
>> > https://www.youtube.com/watch?v=Pe2RACwiEbg
>> >
>> Yes, that's it exactly Bari. Thanks.
>>
>> But I did not realize until checking the youtube submission date, that it
>> was so old. 2014. Now, I'd like to see if I can make it work with
>> opencv. camview was glaringly slow back then with the video running 3 or
>> 4 seconds behind the machine, and crashing so often and hard that it
>> took a reboot to run it again, and had more bugs than a 10 day old road
>> kill carcass in august, making it very impractical to try to use so I
>> gave up.
>>
>> Now I've found another promising camera that I'd like to try. But this
>> time I'll start with our 2.8 install iso so I'm not also battling with a
>> 7 yo OS called wheezy.
>>
>> Buster is running TLM, and ran one of my mills right well a few days ago,
>> for a few hours, but after the install, the video went away on that
>> D525MW in an ARK shoebox.
>>
>> So now I've bought 4 used optiplexes with i5 cpu's. So the hd with that
>> install goes in the optiplex when it gets here.
>>
>> Which is what I did when this box caught fire last year, at one of the
>> mobo's usb 2 headers, so I replaced that Asus mobo with its phenom with
>> another Asus carrying an i5, still booting from the same hd with stretch
>> on it.  The phenom had horrible latency on a stock kernel, but this new
>> 6 core i5 is good enough to run machinery without a preempt-rt kernel.
>> Time marches on as its doing it on 20% of the phenoms power draw.
>>
>> Thanks Bari.
>>
>> Cheers, Gene Heskett
>> --
>> "There are four boxes to be used in defense of liberty:
>>  soap, ballot, jury, and ammo. Please use in that order."
>> -Ed Howdershelt (Author)
>> If we desire respect for the law, we must first make the law respectable.
>>  - Louis D. Brandeis
>> Genes Web page 
>>
>>
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>
>

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] To Sam Sokolik re opencv on linux

2021-02-01 Thread Gene Heskett
On Sunday 31 January 2021 16:03:55 Sam Sokolik wrote:

> Ok.  I found the config/python script I was working on...  Late 2014..
> Boy.  I will put them up somewhere tonight..
>
Great, Sam. But in 2014, weren't you using camview?

My experience has been that its slow, and buggier than a ten day old road 
kill carcass in August. Or, I've had a whole row of bad cameras. If the 
axis display is expanded on a 1920 by screen, to the  point where the 
autosize has to start expanding the image to fill the tab, by even 1 
pixel, every camera I have tried has gone away to a black screen. 
Stopping linuxcnc and running cheese can't find a camera and requires a 
machine reboot to restore the camera to functional.  Now I've found a 
higher resolution camera that is spindle mounted and much sharper that 
just works, and I've installed eclipse and opencv and hope to get that 
working. Its a hundred bucks, has a cheesy mount that is very fiddly to 
adjust for parallax and certainly won't survive running into a fixture 
bolt, but the image is several times sharper too. I've got at least 2 
versions of camview, but the machine I was going to use it on lost its 
video about 18 hours after updating it to buster.  Onboard video on one 
of the now elderly D525MW boards.

So, I've a couple boxes of Dell's with i5 cpu's headed this way.  They 
should have the cajone's to run LCNC for a good long time.  And it will 
put me with 3 machines all alike plus one to program mesa cards with 
plus the pi4b running the biggest lathe.  And a trailer load of old 
stuff to clear out come warmer weather.

Anyway send me a url when you can.  And thanks a bunch.

[...]

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] To Sam Sokolik re opencv on linux

2021-01-31 Thread Sam Sokolik
Ok.  I found the config/python script I was working on...  Late 2014..
Boy.  I will put them up somewhere tonight..

On Thu, Jan 28, 2021, 9:36 PM Gene Heskett  wrote:

> On Thursday 28 January 2021 21:12:31 Bari wrote:
>
> > On 1/28/21 4:55 PM, Gene Heskett wrote:
> > > That's not the video I saw, and can't find again. I think it was one
> > > of yours where you were auto finding a red target dot by calculating
> > > the offset and a button click then drove the machine at a high rate
> > > of speed to put the red dot precisely in the cameras target circle.
> > > Wasn't that one of yours video's?
> >
> > This one maybe?
> >
> > https://www.youtube.com/watch?v=Pe2RACwiEbg
> >
> Yes, that's it exactly Bari. Thanks.
>
> But I did not realize until checking the youtube submission date, that it
> was so old. 2014. Now, I'd like to see if I can make it work with
> opencv. camview was glaringly slow back then with the video running 3 or
> 4 seconds behind the machine, and crashing so often and hard that it
> took a reboot to run it again, and had more bugs than a 10 day old road
> kill carcass in august, making it very impractical to try to use so I
> gave up.
>
> Now I've found another promising camera that I'd like to try. But this
> time I'll start with our 2.8 install iso so I'm not also battling with a
> 7 yo OS called wheezy.
>
> Buster is running TLM, and ran one of my mills right well a few days ago,
> for a few hours, but after the install, the video went away on that
> D525MW in an ARK shoebox.
>
> So now I've bought 4 used optiplexes with i5 cpu's. So the hd with that
> install goes in the optiplex when it gets here.
>
> Which is what I did when this box caught fire last year, at one of the
> mobo's usb 2 headers, so I replaced that Asus mobo with its phenom with
> another Asus carrying an i5, still booting from the same hd with stretch
> on it.  The phenom had horrible latency on a stock kernel, but this new
> 6 core i5 is good enough to run machinery without a preempt-rt kernel.
> Time marches on as its doing it on 20% of the phenoms power draw.
>
> Thanks Bari.
>
> Cheers, Gene Heskett
> --
> "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author)
> If we desire respect for the law, we must first make the law respectable.
>  - Louis D. Brandeis
> Genes Web page 
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] To Sam Sokolik re opencv on linux

2021-01-28 Thread Gene Heskett
On Thursday 28 January 2021 21:12:31 Bari wrote:

> On 1/28/21 4:55 PM, Gene Heskett wrote:
> > That's not the video I saw, and can't find again. I think it was one
> > of yours where you were auto finding a red target dot by calculating
> > the offset and a button click then drove the machine at a high rate
> > of speed to put the red dot precisely in the cameras target circle.
> > Wasn't that one of yours video's?
>
> This one maybe?
>
> https://www.youtube.com/watch?v=Pe2RACwiEbg
>
Yes, that's it exactly Bari. Thanks.

But I did not realize until checking the youtube submission date, that it 
was so old. 2014. Now, I'd like to see if I can make it work with 
opencv. camview was glaringly slow back then with the video running 3 or 
4 seconds behind the machine, and crashing so often and hard that it 
took a reboot to run it again, and had more bugs than a 10 day old road 
kill carcass in august, making it very impractical to try to use so I 
gave up.

Now I've found another promising camera that I'd like to try. But this 
time I'll start with our 2.8 install iso so I'm not also battling with a 
7 yo OS called wheezy.

Buster is running TLM, and ran one of my mills right well a few days ago, 
for a few hours, but after the install, the video went away on that 
D525MW in an ARK shoebox.

So now I've bought 4 used optiplexes with i5 cpu's. So the hd with that 
install goes in the optiplex when it gets here.

Which is what I did when this box caught fire last year, at one of the 
mobo's usb 2 headers, so I replaced that Asus mobo with its phenom with 
another Asus carrying an i5, still booting from the same hd with stretch 
on it.  The phenom had horrible latency on a stock kernel, but this new 
6 core i5 is good enough to run machinery without a preempt-rt kernel.  
Time marches on as its doing it on 20% of the phenoms power draw.

Thanks Bari.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] To Sam Sokolik re opencv on linux

2021-01-28 Thread Bari

On 1/28/21 4:55 PM, Gene Heskett wrote:


That's not the video I saw, and can't find again. I think it was one of
yours where you were auto finding a red target dot by calculating the
offset and a button click then drove the machine at a high rate of speed
to put the red dot precisely in the cameras target circle. Wasn't that
one of yours video's?



This one maybe?

https://www.youtube.com/watch?v=Pe2RACwiEbg



___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] To Sam Sokolik re opencv on linux

2021-01-28 Thread Gene Heskett
On Thursday 28 January 2021 16:37:52 Sam Sokolik wrote:

> Gene - I will have to look for the python code and script..   Have you
> looked at Kent's stuff?  I think he has a git repository.

> https://youtu.be/w3novypPqos

That's not the video I saw, and can't find again. I think it was one of 
yours where you were auto finding a red target dot by calculating the 
offset and a button click then drove the machine at a high rate of speed 
to put the red dot precisely in the cameras target circle. Wasn't that 
one of yours video's?

> On Thu, Jan 28, 2021, 2:51 PM Gene Heskett  
wrote:
> > Greetings Sam;
> >
> > Any chance of sharing a link to your additions to the ini file for
> > bringing opencv into play? I was very well impressed with your
> > automatic edge finding demo on you-tube. And I have finally found a
> > camera that works. Spindle mount at present but I intend to put it
> > on a swing mount eventually.
> >
> > Sells for about $99 on ebay but is razor sharp. And Just Works with
> > cheese on this stretch machine.
> >
> > Thank you Sam.
> >
> > Cheers, Gene Heskett
> > --
> > "There are four boxes to be used in defense of liberty:
> >  soap, ballot, jury, and ammo. Please use in that order."
> > -Ed Howdershelt (Author)
> > If we desire respect for the law, we must first make the law
> > respectable. - Louis D. Brandeis
> > Genes Web page 
> >
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] To Sam Sokolik re opencv on linux

2021-01-28 Thread Sam Sokolik
Gene - I will have to look for the python code and script..   Have you
looked at Kent's stuff?  I think he has a git repository.
https://youtu.be/w3novypPqos


On Thu, Jan 28, 2021, 2:51 PM Gene Heskett  wrote:

> Greetings Sam;
>
> Any chance of sharing a link to your additions to the ini file for
> bringing opencv into play? I was very well impressed with your automatic
> edge finding demo on you-tube. And I have finally found a camera that
> works. Spindle mount at present but I intend to put it on a swing mount
> eventually.
>
> Sells for about $99 on ebay but is razor sharp. And Just Works with
> cheese on this stretch machine.
>
> Thank you Sam.
>
> Cheers, Gene Heskett
> --
> "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author)
> If we desire respect for the law, we must first make the law respectable.
>  - Louis D. Brandeis
> Genes Web page 
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] To Sam Sokolik re opencv on linux

2021-01-28 Thread Gene Heskett
Greetings Sam;

Any chance of sharing a link to your additions to the ini file for 
bringing opencv into play? I was very well impressed with your automatic 
edge finding demo on you-tube. And I have finally found a camera that 
works. Spindle mount at present but I intend to put it on a swing mount 
eventually.

Sells for about $99 on ebay but is razor sharp. And Just Works with 
cheese on this stretch machine.

Thank you Sam.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users