Re: [Emc-users] opencv for shape recognition

2014-12-07 Thread Gene Heskett
On Sunday 07 December 2014 12:24:59 Jon Elson did opine And Gene did reply: > On 12/07/2014 09:50 AM, Gene Heskett wrote: > > The lsusb -t (as root) seems to give the needed results: > > > > gene@shop:~/linuxcnc/nc_files$ sudo lsusb -t > > /: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd

Re: [Emc-users] opencv for shape recognition

2014-12-07 Thread Jon Elson
On 12/07/2014 09:50 AM, Gene Heskett wrote: > > The lsusb -t (as root) seems to give the needed results: > > gene@shop:~/linuxcnc/nc_files$ sudo lsusb -t > /: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M > /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M > |

Re: [Emc-users] opencv for shape recognition

2014-12-07 Thread Gene Heskett
On Saturday 06 December 2014 13:23:30 Jon Elson did opine And Gene did reply: > On 12/05/2014 10:26 PM, Gene Heskett wrote: > > Silly Q then. The D525MW board probably has only one usb > > interface, and since my mouse as also plugged into it, > > limiting it to USB1.1 speeds, would I gain video sp

Re: [Emc-users] opencv for shape recognition

2014-12-07 Thread Marius Liebenberg
I love the camera but she mentioned that it is only windows compatible. I only use windows where I have no choice but certainly not on any machine that I build for myself. Some very interesting items on that site. And the software looks impressive. I will check it our for sure. On 2014-12-06 1

Re: [Emc-users] opencv for shape recognition

2014-12-06 Thread Jon Elson
On 12/05/2014 10:26 PM, Gene Heskett wrote: > Silly Q then. The D525MW board probably has only one usb > interface, and since my mouse as also plugged into it, > limiting it to USB1.1 speeds, would I gain video speed by > sticking a ps2 mouse on the machine, thereby removing the > speed limitat

[Emc-users] opencv for shape recognition

2014-12-06 Thread Roland Jollivet
Hi Marius I f you don't have an aversion to M$, then have a look at Roborealm.com . It's a very versatile program, and has many interfacing options. You could run it on a second pc and have a serial link to process commands. Also, have a look at this camera. Resolution and colour is quite good. A

Re: [Emc-users] opencv for shape recognition

2014-12-06 Thread Gregg Eshelman
On 12/5/2014 12:49 PM, Dave Cole wrote: > OpenCV is on my watch list as well. > I just sent out an estimate for a pick and place using a 3 axis gantry > robot with gripper and rotator along with some other machinery. > It's PLC driven at the moment. It needs move around 1200 parts to do a > full

Re: [Emc-users] opencv for shape recognition

2014-12-05 Thread Gene Heskett
On Friday 05 December 2014 21:49:26 Jon Elson did opine And Gene did reply: > On 12/05/2014 05:27 PM, Gene Heskett wrote: > > The thing that impresses the hell out of me was the > > response time of the video. I have a setup using > > emc-camview, and it takes 4 or so seconds for the video to > > s

Re: [Emc-users] opencv for shape recognition

2014-12-05 Thread Jon Elson
On 12/05/2014 05:27 PM, Gene Heskett wrote: > The thing that impresses the hell out of me was the > response time of the video. I have a setup using > emc-camview, and it takes 4 or so seconds for the video to > show a stable machine position after a move has been done. > So while it can be mad

Re: [Emc-users] opencv for shape recognition

2014-12-05 Thread Gene Heskett
On Friday 05 December 2014 04:05:13 Marius Liebenberg did opine And Gene did reply: > On 2014-12-05 06:01, sam sokolik wrote: > > Finally got some time to take a video.. The implementation is pretty > > embarrassing.. > > > > Small hal file that runs opencv - sets some parameters for the > > houg

Re: [Emc-users] opencv for shape recognition

2014-12-05 Thread Dave Cole
On 12/5/2014 8:37 AM, andy pugh wrote: A clever solution. What is the tool table limit? >>> 56 tools at the moment. >>> >> That might not suffice. I had in mind to compare the component to a >> reference image in a library and then orientate the picked up component >> to the reference. > If it

Re: [Emc-users] opencv for shape recognition

2014-12-05 Thread andy pugh
>>> A clever solution. What is the tool table limit? >> 56 tools at the moment. >> > That might not suffice. I had in mind to compare the component to a > reference image in a library and then orientate the picked up component > to the reference. If it doesn't need to refer to an actual tool then

Re: [Emc-users] opencv for shape recognition

2014-12-05 Thread Marius Liebenberg
On 2014-12-05 14:17, andy pugh wrote: > On 5 December 2014 at 11:59, Marius Liebenberg wrote: >> A clever solution. What is the tool table limit? > 56 tools at the moment. > That might not suffice. I had in mind to compare the component to a reference image in a library and then orientate the pi

Re: [Emc-users] opencv for shape recognition

2014-12-05 Thread andy pugh
On 5 December 2014 at 11:59, Marius Liebenberg wrote: > A clever solution. What is the tool table limit? 56 tools at the moment. -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto -- Download

Re: [Emc-users] opencv for shape recognition

2014-12-05 Thread Marius Liebenberg
On 2014-12-05 12:54, andy pugh wrote: > On 5 December 2014 at 04:01, sam sokolik wrote: >> Finally got some time to take a video.. The implementation is pretty >> embarrassing.. > For pick-and-place perhaps the way to approach this is as a tool-change? > > M6 signals the component to make an acq

Re: [Emc-users] opencv for shape recognition

2014-12-05 Thread andy pugh
On 5 December 2014 at 04:01, sam sokolik wrote: > Finally got some time to take a video.. The implementation is pretty > embarrassing.. For pick-and-place perhaps the way to approach this is as a tool-change? M6 signals the component to make an acquisition (iocontrol.0.tool-change-request ) The

Re: [Emc-users] opencv for shape recognition

2014-12-05 Thread Marius Liebenberg
On 2014-12-05 06:01, sam sokolik wrote: > Finally got some time to take a video.. The implementation is pretty > embarrassing.. > > Small hal file that runs opencv - sets some parameters for the > houghcircle finder, bluring and some tolerances.. > > Gcode program tells the hal component to find

Re: [Emc-users] opencv for shape recognition

2014-12-04 Thread sam sokolik
Finally got some time to take a video.. The implementation is pretty embarrassing.. Small hal file that runs opencv - sets some parameters for the houghcircle finder, bluring and some tolerances.. Gcode program tells the hal component to find a circle Hal componant finds circle and sets hal pins

Re: [Emc-users] opencv for shape recognition (Scheduling, important for real time)

2014-10-08 Thread Karlsson & Wang
"Unless you get into custom high-speed cameras or sensors, it takes over 15 mS to capture an image (60 Hz video), plus whatever processing time you incur." This is a typical real time example. If assumption is made one CPU is used built into a micro with peripherals or not and same processing is

Re: [Emc-users] opencv for shape recognition

2014-10-08 Thread Karlsson & Wang
cv.IPL_DEPTH_8U, 1) > >> > >> cv.CvtColor(img, gimg, cv.CV_RGB2GRAY) > >> > >> fe = FitEllipse(gimg, 116) > >> h['offset'] = fe.offset > >> h['located'] = fe.located > >> > >> In the hal file, I have: >

Re: [Emc-users] opencv for shape recognition

2014-10-08 Thread Gene Heskett
om: Javier Ros [j...@unavarra.es] > Sent: Wednesday, October 08, 2014 1:00 AM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] opencv for shape recognition > > Very interesting Ralph. > > I always wandered if it would be possible to do head position trackin

Re: [Emc-users] opencv for shape recognition

2014-10-08 Thread Charles Steinkuehler
On 10/8/2014 8:25 AM, Ralph Stirling wrote: > Running OpenCV code in a real time thread would be an entirely different > matter, I suspect. I do not know if the cv2 library would be compatible > with real time requirements, or what level of processing could be accomplished > in a reasonable fracti

Re: [Emc-users] opencv for shape recognition

2014-10-08 Thread sam sokolik
_ > From: Javier Ros [j...@unavarra.es] > Sent: Wednesday, October 08, 2014 1:00 AM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] opencv for shape recognition > > Very interesting Ralph. > > I always wandered if it would be possible to do he

Re: [Emc-users] opencv for shape recognition

2014-10-08 Thread Ralph Stirling
October 08, 2014 1:00 AM To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] opencv for shape recognition Very interesting Ralph. I always wandered if it would be possible to do head position tracking for robot calibration based on OpenCV. Do you think that this would be possible using a

Re: [Emc-users] opencv for shape recognition

2014-10-08 Thread Karlsson & Wang
For scheduling in EDF or Rate-monotonic lower frequency threads get lower priority so for the scheduling part it should be OK if this is the method used for scheduling. If round robin is used which I do not call real time operating system it might however and actually will if execution take to m

Re: [Emc-users] opencv for shape recognition

2014-10-08 Thread David Armstrong
theirs quite a lot of people using opencv for robotic head tracking , although iv'e not used it within linuxcnc context as yet On 8 October 2014 10:09, Karlsson & Wang wrote: > I do not know about the scheduling for the hal but for ordinary preemptive > real time system with EDF or Rate-Monotoni

Re: [Emc-users] opencv for shape recognition

2014-10-08 Thread Javier Ros
So, would that imply that the OpneCV calling module is doable in RT, at least if scheduling at a low enough frequency? Thanks, Javier On Wed, Oct 8, 2014 at 11:09 AM, Karlsson & Wang < nicklas.karls...@karlssonwang.se> wrote: > I do not know about the scheduling for the hal but for ordinary pre

Re: [Emc-users] opencv for shape recognition

2014-10-08 Thread Karlsson & Wang
I do not know about the scheduling for the hal but for ordinary preemptive real time system with EDF or Rate-Monotonic scheduling a suitable priority is the way to do it all the way down to GUI or even slower. Nicklas Karlsson On Wed, 8 Oct 2014 10:05:04 +0100 andy pugh wrote: > On 8 Octob

Re: [Emc-users] opencv for shape recognition

2014-10-08 Thread andy pugh
On 8 October 2014 09:00, Javier Ros wrote: > Do you think that this would be possible > using a real time HAL module, written in C, using the a PREEMPT RT PATH > real time based kernel? I would be surprised if OpenCV was thread-safe or deterministic enough to run in a real-time thread. A userspa

Re: [Emc-users] opencv for shape recognition

2014-10-08 Thread Javier Ros
;t find > an example where I actually used it to do the homing though. I must have > gotten distracted by something else before I got that step completed. > > Hope this is useful. > > -- Ralph > > > > -- Ralph > > From: sam sokolik [sa.

Re: [Emc-users] opencv for shape recognition

2014-10-07 Thread TJoseph Powderly
On 10/07/2014 01:09 PM, andy pugh wrote: > On 7 October 2014 19:06, sam sokolik wrote: >> this is my first real exposure to python. the next step is to see how I >> can fidldle hal stuff with it.. > > import hal > > make hal pins, job done :-) > > how about make hal pins do stuff? cmd='halcmd set

Re: [Emc-users] opencv for shape recognition

2014-10-07 Thread Charles Buckley
http://www.reddit.com/r/3Dprinting/comments/2ighl5/what_is_your_biggest_complaint_about_3d_printing/ Charles On Tue, Oct 7, 2014 at 1:20 PM, sam sokolik wrote: > I have not seen the reddit discussion.. Link? > > sam > On 10/7/2014 2:12 PM, Charles Buckley wrote: > > Is this related to the discu

Re: [Emc-users] opencv for shape recognition

2014-10-07 Thread Bari
When I get some more time I'd like to integrate OpenCV into Linuxnc for vision guided pick-n-place rather than work on the firepick http://delta.firepick.org/ project. It's just too much of a toy for my applications. Some may find this of interest as well: https://github.com/firepick1/FireREST/

Re: [Emc-users] opencv for shape recognition

2014-10-07 Thread Ralph Stirling
something else before I got that step completed. Hope this is useful. -- Ralph -- Ralph From: sam sokolik [sa...@empirescreen.com] Sent: Tuesday, October 07, 2014 11:59 AM To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] opencv for shape recogniti

Re: [Emc-users] opencv for shape recognition

2014-10-07 Thread sam sokolik
I have not seen the reddit discussion.. Link? sam On 10/7/2014 2:12 PM, Charles Buckley wrote: > Is this related to the discussion on reddit? > > Charles Buckley > > On Tue, Oct 7, 2014 at 12:06 PM, sam sokolik wrote: > >> in the future one of my projects is shape recognition. I have been >> wan

Re: [Emc-users] opencv for shape recognition

2014-10-07 Thread Charles Buckley
Is this related to the discussion on reddit? Charles Buckley On Tue, Oct 7, 2014 at 12:06 PM, sam sokolik wrote: > in the future one of my projects is shape recognition. I have been > wanting to play with it for a while now. > > bari on irc mentioned > https://github.com/firepick1/FireSight/wi

Re: [Emc-users] opencv for shape recognition

2014-10-07 Thread sam sokolik
You make it sound /so/ easy... :) sam On 10/7/2014 1:09 PM, andy pugh wrote: > On 7 October 2014 19:06, sam sokolik wrote: >> this is my first real exposure to python. the next step is to see how I >> can fidldle hal stuff with it.. > import hal > > make hal pins, job done :-) > > -

Re: [Emc-users] opencv for shape recognition

2014-10-07 Thread Bari
If you can draw templates of what the expected shape of the gear cutters, then with a good enough camera and lighting, pattern match the cutters for best fit. On 10/07/2014 01:14 PM, Dave Caroline wrote: > I have a number of gear cutters, only marking is a serial no, I want > to measure and qua

Re: [Emc-users] opencv for shape recognition

2014-10-07 Thread Dave Caroline
I have a number of gear cutters, only marking is a serial no, I want to measure and quantify... I wonder if I can draw calculated curves, sizes and forms, and work out what they are. Dave Caroline On 07/10/2014, sam sokolik wrote: > in the future one of my projects is shape recognition. I have

Re: [Emc-users] opencv for shape recognition

2014-10-07 Thread andy pugh
On 7 October 2014 19:06, sam sokolik wrote: > this is my first real exposure to python. the next step is to see how I > can fidldle hal stuff with it.. import hal make hal pins, job done :-) -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto ---

[Emc-users] opencv for shape recognition

2014-10-07 Thread sam sokolik
in the future one of my projects is shape recognition. I have been wanting to play with it for a while now. bari on irc mentioned https://github.com/firepick1/FireSight/wiki/firesight which is based on opencv. I installed it and it seems to work as expected. you can use a command line to test