score:4
Since the end of the Brexit transition period, the answer to this question is no, you need a visa, unless your spouse has resided in the UK since before the end of the transition period (23:00 UK time, December 31, 2020). See https://www.gov.uk/check-uk-visa/y/bosnia-and-herzegovina/tourism/yes