Create inverse colour photos .... in camera

Hi,
I would like to view (or save) images on my Canon (digital) camera with the colours inverted (as you would see on film before processing the negative) A couple of my Sony cameras will do this, but they are not high quality. This can be done on any photographic editor by simply moving two (x,y) points on the image histogram … (0,0 to 0,100) and (100,100 to 100,0); however this would have to be done long after the shots were taken.
I know ‘nothing’ about code or how to write it. So I’m basically looking for advice as to whether what I want to do can be done.
Please be gentle, I’m a complete neophyte.
Thanks,
… john

  1. get python
  2. pip install opencv-python (or pip3 ...)
  3. get this running: OpenCV: Getting Started with Images
  4. put img = 255 - img in the right spot

I’ll have a smoke now

and no, you cannot run opencv code inside your camera

Hi berak,
I don’t know if you’re familiar with CHDK, a software that one can install on an SD card, to extended the capabilities of Canon cameras? Can it be incorporated into that program?
Thanks,
… john

Hi,
I don’t really think I want to go there. It sounds like a LOT of work for, well, I’m not sure I want it that badly.
Thanks for your help.
… john