Nice Photograph. The ID is Papaver somniferum L. of Papaveraceae. The dried latex from the fruit of this plant is the Narcotic drug Opium. It is banned from cultivation.
The active principles in the latex like Morphine & codeine (both alkaloids) are well known for their pain killing activity and are still in vogue in the Modern system of medicine.
The seeds anyways do not contain any narcotic effect. Commonly known as Khas Khas seeds, used in sweet dishes.

Regards

Regards