Aiming at the presence of obstacles when monitoring wild animals in the forest, an obstacle avoidance method is introduced, and a video sensor networks coverage optimization algorithm for virtual force affected by obstacles fused to an immune clone particle swarm is proposed. The algorithm adjusts locally through virtual forces to reduce the overlapping area and then uses the immune cloning particle swarm algorithm to optimize the global nodes to improve the coverage of nodes in the obstacle scene. The simulation results show that the algorithm proposed in this paper can improve the coverage of nodes.