Does word "rack" have the same meaning in the following two sentences?

Rack one's brains.

Rack a camera.
different meanings