Several issues with this idea: 1) On the open ocean, what is there to even avoid? In the harbor, you often don't have a choice; the harbor master is going to _require_ you to pick up a harbor pilot who is rated and certified for the harbor you'll be in and they must be in command of the ships steering and propulsion in order for your ship to even enter their waters. 2) Only 20% of the global merchant fleet is dedicat…
There are some ships, small sailing ships for example, that do not get picked up by radar. They often need to get radar reflectors fitted to be visible. You certainly wouldn't want to be on a sailing vessel while an automated cargo ship barrels down on you. Sailing ships get right of way to powered ships as well so detecting the difference between vessels is important and the automation would need to take that into a…
Assuming they can see you, the captain of a large boat will try to give way rather than squash you (they'd be _super_ angry about having to do so, though), but in practice they're already hugely under-crewed, so there's a large percentage of time when you (as a smaller boat) can't count on that. And even if they are actively looking out, small boats are just... hard to see. Almost all of the deaths in sailing come from a small boat's crew falling asleep without appropriate watch (you're meant to fully scan the horizon at least every 20 minutes) and getting run down by a big boat.
This is a long way of saying that big boats are already mostly automated, and I think everyone will be safer if we go all the way on it, along with more robust sensors, instead of just pretending that there's always someone doing a perfect lookout.