Cannibalism is often an extreme interaction in the animal species to quell competition for limited resources. To model this important factor, we improve the predator-prey model with nonlocal competition effect by incorporating cannibalism term, different kernels for competition is considered in this model numerically. We give the critical conditions leading to the existence of the double Hopf bifurcation, in which the gestation time delay and the diffusion coefficient were selected as the bifurcation parameters. The innovation of the work lies near the double Hopf bifurcation point, the stable homogeneous and inhomogeneous periodic solutions can coexist. The theoretical results of the extended center manifold reduction and normal form method are in good agreement with the numerical simulation.