I grew some last year and had a good crop.
Wait til the backs o the heads turn yellow, the seeds should be stripy at this stage and easy to dislodge with your thumbs, if you can further dry them out, somewhere sunny then all the better.
I saved the vast majority for the birds and also roasted some for human consumption, a fiddly job but the taste was very good. I followed a recipe that I saw on youtube.