To whom plan to build the machine using Openpnp:
When I have started my play with OpenPNP and retrofitting Philips, I was not thinking to much about the computer requirements. Finally, it's only simple two cameras service and Java, nothing specially complicated... Mistake, later I have spent a lot of time and nerves why nothing works like happy people write here... So decided to share with my experiences, maybe someone next will have a bit easier as I would probably have if find a description like this.
So, my first computer used for OpenPNP was some AMD Opteron-185, dual core 2.6GHz. 4GB of RAM and not bad graphic card. In one word: nothing special but thought that it's more than enough. Connected two cameras (ELP 2Mpx + ELP 1Mpx) to Windows7-64bit and tested it using popular vmcap.exe soft - everything perfect. So run Openpnp and one big sh*t from this point:
- only one camera working under Openpnp (opencvcamera) moreless properly. When connected the second camera the first one die no matter what the resolution or refreshment I set.
- ok, it's WIndows for sure! Installed Linux instead and came back to Windows after 2 days (don't say that Linuks is bad, just don't friendly for me and effects the same like with Windows)
So first important information: it's nothing worth to test that two cameras are working at full res and full fps under Windows or Linux. Drivers used by Java it's completely other story.
- wow, probably I must use separated USB host for the second camera as people advise here. So bought USB@PCI and did it as advised. Uff, both cameras works now, no matter that max some 10fps, no matter that at 1Mpx+VGA no more... But the success is that something begun to work at all! Strange that people writes about some 10-12Mpx cameras but probably they say some bullshits :-).
- so next we try to start mount some pcb. And another surprise: why it all works so slow??? One part is picked, alligned and placed in time more than 10sec. After every single command an OpenPNP is thinking about next operation like about something saving life... what the shi*??? Java for sure ;). I had a machine making 4000cph before and made an "upgrade" to 500 - really not sure if it was a good decission :-). But will have the vision, high precission etc, no matter that slow but what the high quality now :-). Echh...
- what now? Lets try with stronger PC, no other idea has left. So bought AMD-A8 7670K with graphic card in processor, 8GB of RAM and AsRock FM2A88X motherboard, plus fast SSD disk, the system still the same old good Win7. Bottom vision connected to separated host USB3.0 (but camera 2.0) and nothing more to it.
- connected to the machine and can't believe: one part placement takes max 3sec including vision process. Everything works 2-4x faster!
- so what now? Downlooking camera picture at VGA is not specialy impressing. So let's go to 1Mpx what was not possible at old computer. And surprise again - it still works :-). But 5fps is not too much, so let's set 30, it must die! But not, it still works with the quality like dreaming :-)
- next step the bottom vision. On old system 1Mpx was max that wanted to work. But it's probably a bit too low to "cover" the parts from 0402 to some 40x40mm as I wanted. So inceased now from 1 to 2Mpx and it still works, so maybe faster? Refresh 30fps, 100ms for settle time - just nothing may stop this system now :-).
Conclusion? If you are not sure what the computer you need for Openpnp to be sure that it will work properly - an answer you have found above. Maybe it could be a bit cheaper but potential savings are not worth your time I think. Maybe it could work still a bit better than at me if you pay for still stronger machine, hard to say, but I don't think.
Good luck!