ai-thermometer icon indicating copy to clipboard operation
ai-thermometer copied to clipboard

Hi there, how do I change both images like 180 degress?

Open jjferreira opened this issue 4 years ago • 4 comments

Hi there, how do I change both images like 180 degrees?

Originally posted by @jjferreira in https://github.com/tomek-l/ai-thermometer/issues/39

jjferreira avatar Jun 28 '21 17:06 jjferreira

@tomek-l hello, did you had the chance to figure out this issue? Thank you

jjferreira avatar Jun 30 '21 21:06 jjferreira

Hi @jjferreira !

  1. To rotate the RGB image by 180 degrees, you can set flip_method=0 in this line
  2. To rotate the IR image by 180 degrees, you can do self._raw = np.flipud(raw) in this line\

Hope this helps.

tomasz-lewicki avatar Jun 30 '21 23:06 tomasz-lewicki

@tomek-l thank you for your help. The rgb camera is via usb, so that string got no effect.

jjferreira avatar Jul 01 '21 05:07 jjferreira

@tomek-l also the change, self._raw = np.flipud(raw) does to seem to work, or st least is not represented on the UI, pls advise

jjferreira avatar Jul 01 '21 08:07 jjferreira