The IDD and Engineering datasheet may be helpful to you for documentation. I believe what you’re looking for is to enable raw14bit mode which can be done using the command LEP_SetVidVideoOutputFormat() with the parameter LEP_VID_VIDEO_OUTPUT_FORMAT_RAW14.
You may find you also want to disable AGC which you would do using LEP_SetAgcEnableState() if it’s enabled. Additionally, you may find you want to disable radiometry which can be done using LEP_SetRadEnableState().
However, there may be some complexities in using these parts of the lepton library with the software you’re using. If you run into issues with this please let me know so I can assist you in implementing this.
Additionally, in the documentation of the software, you’re using, there may be options to do this without having to write new components. So I would double check that to potentially save time.