We often have some raccoons around my home, but so far we've been fortunate to not have any issues with them attacking chickens or ducks. The coops are inside a fenced in area, but I doubt the fence stops them from getting in... However, within the fenced in area, I have numerous pairs of DVD on trees to look like a pair of big eyes as I heard this helps deter hawks, so perhaps this also deters the raccoons.. not sure about it, but at night I notice the DVD look red. I know these raccoons have gotten onto my porch at night and also know they dig in the garbage.. So I put the garbage in the back of my pickup parked down the hill on the other side of the house, far from the coop.. I think it lures them away from the house and away from the coops since they're interested in trying to get into the trash.
OH.. I also have a plastic owl perched on top of one of the coops.. Maybe it works.
Once concern you should have regarding raccoons is not only your bird's safety, but if they're defecating and or urinating near or on your coop, etc because it frequently contains eggs of raccoon roundworm which is often lethal to birds and humans if the eggs are ingested.
You could also install a motion sensing floodlights around the run/coop, etc There's battery and solar ones available too/