necrosato / home-alert

IOT Home Security System
0 stars 0 forks source link

Pi camera has incorrect colors #71

Closed necrosato closed 3 years ago

necrosato commented 5 years ago

When installing using pi cam I noticed that the colors are off. I know my pi cam works because I tested raspistill -o /tmp/test.jpg --width 1920 --height 1080 and got a picture with correct results.

necrosato commented 5 years ago

See the pictures here.

necrosato commented 5 years ago

Discovered that the issue does not appear at 720p, but does appear at 1080p.

necrosato commented 5 years ago

@margielamadman does this happen with your pi cam?

margielamadman commented 5 years ago

@margielamadman does this happen with your pi cam?

Don't have a pi cam to test with right now.

I could check to see if fswebcam and HomeAlertCamera produce different results using the USB webcam.

necrosato commented 5 years ago

@margielamadman that would be great. I wanted to run that test but my usb webcam is 720 p.

margielamadman commented 5 years ago

How did you install opencv?

necrosato commented 5 years ago

@margielamadman Using apt

necrosato commented 3 years ago

Fixed via #82 . Open cv caused pain and misery in more ways than one.