First, I want to say Hi, cause I'm new to this forum and I hope to write here more in the future. And I don't hide that I came here looking for some help.
Here is my problem.
I've got about 3000 photos, in which I want to remove background automaticly without selecting shape manually. Photos have white, or nearly white background, and simple shapes (bottles) , in links below You've got some samples:



It is not a problem for me to manually cut the shape out, but with this amount of photos I'd like to use some tool to save time. I think I need some action which could select a shape of a bottle and modify it to remove background around. I don't expect miracles, also I'm a little worried about those photos which have gradient in the background, but still I think it is doable.
I have no idea how to force photoshop to do what I need. I searched the web looking for some automated solution and everything I found needed human hand to select some shape, also opening and saving each of 3000 files would be exausting, and I know I can use action to do this stuff for me.
I'd like to write some action but I don't know where to start, I don't know if there even exist some tools which could select my bottle shape, basing on e.g. edge contrast.
I hope some proffessionals here have some experience in stuff like this and could help me with my problem, any hint or advice is appreciated.