If they are barking at you for attention then fold your arms across your chest and look up at the sky. This will make them bored of you as you not looking at them or letting them play with your arms/hands. When they stop look at them and tell them words of praise.
I also have a dog that barks a lot. I had tried everything to stop it but nothing worked so I did have to get a Bark Collar, I really hate having to use that thing on her because I do know how much it hurts when it shocks her. You could try making a loud noise when your dog(s) bark. I was told by one trainer that that should work. Go to the ASPCA website they may have some tips that are humane to use. Good luck.