The invention relates to a picture taking and grabbing mechanism. The picture taking and grabbing mechanism comprises an X-axis mechanism, Y-axis mechanisms and a picture taking and grabbing assembly. The X-axis mechanism is arranged on the Y-axis mechanisms. The picture taking and grabbing assembly is arranged on the X-axis mechanism. The picture taking and grabbing assembly is moved to required positions in the X-axis direction and the Y-axis direction through the X-axis mechanism and the Y-axis mechanisms respectively. A Z-axis motor of the picture taking and grabbing assembly drives a CCD sliding base to slide along a Z-axis linear module so that a CCD can finally move to a standard operation position to conduct picture taking and alignment on the assembling position. A lifting cylinder can drive a clamping jaw cylinder fixing plate to move so that a clamping jaw cylinder can drive a clamping jaw to move to the grabbing position and grab products. The problem that the grabbing effect is poor when products are directly grabbed without being accurately positioned is solved, picture taking and alignment can be conducted on the position where assembling is to be conducted, deviation between products and the position where assembling is to be conducted is supplemented and corrected, and therefore products are accurately positioned.