D3Engineering / d3-jetson-bsp

Board support package for Nvidia Jetson products.
14 stars 12 forks source link

Camera picture issue (Intermittent) #24

Open ganindu7 opened 2 years ago

ganindu7 commented 2 years ago

Hi, This It seems there is an intermittent issue where the picture come out with lots of lines. when I get this if I cycle through the camera modes the picture gets restored.

Camera used: https://www.d3engineering.com/product/designcore-d3rcm-ov10640-953-rugged-camera-module/

ARGUS_CAMERA_OV10640_D3

ARGUS_CAMERA_OV10640_D3

However when it's good it's quite good.

argus_2

As a positive I haven't had a single crash with this release or a startup where cameras didn't work at all yet!!

Cheers, Ganindu.

d3-cburrows commented 2 years ago

Hello,

I'm glad to hear that you're getting (mostly) good results with your hardware on this release!

I have a theory about your ugly images. The next time you get a noisy image like the ones you shared, what happens if you cover the lens of the camera for a few seconds (e.g. with a lens cap, your finger, a piece of cardboard, etc) so that the image is completely dark? Does the image look good after you uncover the lens?

Thanks, Cody

ganindu7 commented 2 years ago

Hi Cody!

Yes!! That actually works! However we have to repeat that when we restart (most times tbh)

Other solution is to request sensor mode 1,

Is there a way to fix this?

I can hack the 'nvarguscamerasrc' if necessary. I used to modify the camera driver in the previous release, but this time around I didn't have to go there because there aren't major pains like BSP 4.0.0 days!

Cheers, Ganindu.

d3-cburrows commented 2 years ago

Ganindu,

Sounds like we're dealing with the same issue here. Unfortunately, all we know for sure is that covering the lens for a few seconds resolves the noise. This is on our list for the next release.

One thing I just thought of: are the results the same if you disable ISP features like auto exposure, auto white balance, edge enhance, etc.? gst-inspect-1.0 nvarguscamerasrc should tell you how to disable them.

Cody

ganindu7 commented 2 years ago

Hi Cody, Thanks for the tip! The easy fix is shuffle the camera mode, I will hopefully try the suggestions and let you know.

We are currently doing some field testing so it might not be super quick! Thanks again for getting back to us!

Cheers, Ganindu

On Tue, 5 Jul 2022 at 18:59, Cody Burrows @.***> wrote:

Ganindu,

Sounds like we're dealing with the same issue here. Unfortunately, all we know for sure is that covering the lens for a few seconds resolves the noise. This is on our list for the next release.

One thing I just thought of: are the results the same if you disable ISP features like auto exposure, auto white balance, edge enhance, etc.? gst-inspect-1.0 nvarguscamerasrc should tell you how to disable them.

Cody

— Reply to this email directly, view it on GitHub https://github.com/D3Engineering/d3-jetson-bsp/issues/24#issuecomment-1175341708, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABG4JUVFOY7CU6RGZR27H3TVSRZZVANCNFSM5ZXZLALA . You are receiving this because you authored the thread.Message ID: @.***>

-- Sent from Gmail Mobile

d3-cburrows commented 1 year ago

Hi Ganindu,

We finally had some time to dive into this, and determined that we're running a clock in the image sensor outside its published operating range. That would explain the intermittent nature of the artifacts. Unfortunately it's not a straightforward fix so we've reached out to OVT for assistance. At the moment, the best known workaround is to switch modes as you mentioned.

Cody

ganindu7 commented 1 year ago

Thanks Cody! Thanks a lot for remembering!!

I thought it might be a PCB noise coupling issue or something like that causing sync issues.

When not controlled automatically manually covering and opening the imager helps too as you let us know.

Cheers, Ganindu.

On Thu, 20 Oct 2022 at 20:44, Cody Burrows @.***> wrote:

Hi Ganindu,

We finally had some time to dive into this, and determined that we're running a clock in the image sensor outside its published operating range. That would explain the intermittent nature of the artifacts. Unfortunately it's not a straightforward fix so we've reached out to OVT for assistance. At the moment, the best known workaround is to switch modes as you mentioned.

Cody

— Reply to this email directly, view it on GitHub https://github.com/D3Engineering/d3-jetson-bsp/issues/24#issuecomment-1286052370, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABG4JUUCEQPBD2CSYWO3RQ3WEGOILANCNFSM5ZXZLALA . You are receiving this because you authored the thread.Message ID: @.***>

-- Sent from Gmail Mobile