You could use Mice Profiler, the analysis is very long but simple and accurate. It allow the measure of multiple behaviors of one mouse alone or two mice interacting together.
If you have enought time to do it, a new "version" of Mice profiler has been developped and called "Live mouse Tracker".
https://livemousetracker.org/
For this latter one, you will need to built a box with NFC chip and microshipped your mice but then, the analysis is fully automated and you can record multiple mice interacting together.
there are multiple options to use best which is being used now is Deeplabcut which is very accurate there are multiple other options , if u want it specifically for open field and forced swimming you can use this simple software which offer basics and is not that amazing in forced swimming (Behavioral monitoring tool) we are currently updating it from the ground up but you can use this older version ,, good luck