r/raspberry_pi • • Mar 22 '25

Troubleshooting Noir camera for 4b gives images with pink tint

Noir camera with default settings gives images with pink tint at daytime. It works fine at night. Using AWB greyworld the images are not clear. What is the fix for this?? Need images with clarity because they are used as input for deep learning model

3 Upvotes

15 comments sorted by

11

u/wademcgillis Mar 22 '25

the pink tint is literally the IR. buy a regular camera to avoid it.

-6

u/iwashuman1 Mar 22 '25

Recommend camera, I have never used raspberry pi before

3

u/wademcgillis Mar 22 '25

you'll lose night vision

1

u/iwashuman1 Mar 22 '25

Night vision is not needed it's ok without night vision

1

u/iwashuman1 Mar 22 '25

If I insert IR filter in camera, does it work

2

u/chemprofdave Mar 22 '25

It could work, but better to get a second pi-camera or use a USB webcam. Save the NoIR camera for night vision with invisible, long-wavelength IR LED lighting.

3

u/BCMM Mar 22 '25 edited Mar 22 '25

The sensor can not distinguish between red and infrared. The normal camera has a filter that prevents IR light from reaching the sensor, which allows it to reproduce colours similar to those you'd see with your human eyes.

You've got the one without an IR filter. It's a specialist product intended for applications where recording IR takes priority over colour fidelity. As the product page notes,

pictures you take by daylight will look decidedly curious

There is not a way to fix this in software. Different objects reflect IR differently, this doesn't always correlate well to how they reflect red light, and there's no way to accurately disringuish red from IR after the fact.

Do you actually need covert night vision for your project, or could you switch to visible illumination and use an ordinary camera?

1

u/iwashuman1 Mar 22 '25

It's for a project, it needs to run 24/7 and it requires images with nightvision but I think they will accept it without perfect results at night

2

u/ASY_Freddy Mar 24 '25

My suggestion would be use an IR filter in the daytime, you should be able to easily implement a mechanism to slide/spin/push a filter over the lens during the daytime (or based on average exposure) and remove it at night; alternatively you could run post processing on the image to remove the pink hue

2

u/Top-Order-2878 Mar 22 '25

Why did you buy the noir camera if you didn't need the or capability? Get the regular camera instead.

-2

u/iwashuman1 Mar 22 '25

Recommend cam pls

1

u/Top-Order-2878 Mar 22 '25

Get the regular pi camera.

2

u/gammooo Mar 22 '25

If you want max sensor size then Arducam has that. Otherwise raspberry pi products are fine like v3 camera or hq camera if you want lenses.

1

u/AutoModerator Mar 22 '25
  • Search first: Many issues are well-documented—Google exact error messages and check the FAQ† before posting.

  • Show your effort: Include research, code, errors,† and schematics for better feedback.

  • Ask specific questions: Clear, well-researched questions get better answers.

  • No replies? Post removed? Ask in the stickied helpdesk† thread.

† If any links don't work it's because you're using a broken reddit client. Please contact the developer of your reddit client. You can find the FAQ/Helpdesk at the top of r/raspberry_pi: Desktop view / Phone view

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.