Difference between openHAB and Eclipse smarthome?

I’m just getting started with home automation and am wondering what the difference is between openHAB and Eclipse smarthome. I understand they are related in some way or one is based on the other?
Under what circumstances would I use one over the other? My use case is to automate my own home to some extent.

Most of your questions are answered on the first page of the introduction docs:

http://docs.openhab.org/introduction.html

You may read some more explanation here:

openHAB is the frontend which you want to use …