Here's the CPSC page on garage door openers: https://www.cpsc.gov/Regulations-Laws--Standards/Voluntary-S...
The pdf "Update of Automatic Garage Door and Garage Door Openers Entrapment Incidents. October 7, 2003" is a good introduction to the real, not internet-smart-guy-hypothetical, hazards of automatic door operation. It includes a summary of every entrapment incident found by the CPSC from 1982-2003.
The UL standard for openers UL325 is incorporated more or less verbatim into the mandatory standard 16 CFR Part 1211: https://www.law.cornell.edu/cfr/text/16/part-1211/subpart-A Have fun. This is the standard that an opener that retails for $99 on sale in the US has been engineered to meet. European and other international standards differ in particulars but are quite similar.
No, you will not accidentally meet real-world safety standards with your project by dint of your sterling virtue, high intelligence, wisdom in the ways of the world, and impeccable engineering skills. Nor will you do so by adding a couple more features. Safety is the result of deliberate processes.