Troops descended on towns suspected to be controlled by the Islamist group in the state of Borno and "rescued 195 persons held hostage," it said in a statement.
"Quite a number of Boko Haram terrorists were killed," it added, while a spokesman also listed a range of equipment and livestock seized.
Photos released by the army show a modest camp with shelters made of logs and thatched grass and shacks constructed with rusted corrugated steel.
Army spokesman Colonel Sani Usman added they also recovered 300 cows, 200 sheep and 130 goats rustled by the insurgents.
More From This Section
The offensive follows a major assault against a key Boko Haram base in Nigeria by the Cameroonian army, who seized heavy machine-guns, rocket-launchers, AK-47s, grenades and training rifles.
In Nigeria, Africa's most populous country, the group has killed at least 17,000 people and made more than 2.6 million others homeless since their six-year campaign for an independent Islamic state began.