TSA literally says on their own website that they are not looking for drugs and will only report it to the police if it’s blatant.
TSA’s screening procedures are focused on security and are designed to detect potential threats to aviation and passengers. Accordingly, TSA security officers do not search for marijuana or other illegal drugs, but if any illegal substance is discovered during security screening, TSA will refer the matter to a law enforcement officer.
You will get leagues better picture quality using a camlink/capture card and a camera with clean HDMI out. A gopro is a good budget option but a used DLSR or mirrorless camera is going to be the best. Some DSLR and mirrorless cameras support video out over usb so you don’t even need a capture card. Here’s a guide on getting it to work on Linux with a camera capability list inside the guide. If you do want to go the capture card route I hear elgato’s camlink works in Linux.