Thanks for reaching out for assistance. I will gladly assist you with your Note 9 camera concerns. Since this still happens after factory resetting your device. I would recommend a service repair. You have two options for service.
1. Visit a UBreakIFix for repair
2. Send in your device for repair
If you are interested in sending in your device for repair, I will need some additional information in a private message here.
Best Contact Number:
Phone Model Number: