The Japanese American National Museum in Los Angeles has acquired a collection of artifacts that Japanese-Americans produced while in internment camps during World War II. A planned auction of about 450 pieces last month, at the auction house Rago in Lambertville, N.J., was canceled amid global social media protests.

The internees had given much of the material to Allen H. Eaton, a scholar who documented the miseries of camp life and the prisoners’ resilience in his 1952 book, “Beauty Behind Barbed Wire: The Arts of the Japanese in Our War Relocation Camps,” with a foreword by Eleanor Roosevelt. Mr. Eaton had also planned to exhibit the pieces, which included family name plaques for barracks and watercolor scenes of interned children lugging suitcases.

The museum announced the acquisition at a benefit on Saturday night honoring the actor George Takei, known for playing Sulu on “Star Trek.” He had spent time in the camps as a child and helped negotiate to stop the auction.

Image A watercolor by an unknown artist of a Japanese-American internment camp. Credit... Rago Arts & Auction Center

“All of us can take to heart that our voices were heard and that these items will be preserved and the people who created them during a very dark period in our history will be honored,” Mr. Takei said in a statement.