Baking soda and vinegar are excellent options for this project. Sprinkle a generous amount of baking soda on the whole carpet and straighten it in with a stiff brush to revive matted carpet flooring. Saturate the carpet fabrics with sodium bicarbonate from various angles.