Hello community

Is using the camera OAK-1 as a door sensor with object detection.
Due to the standards in the door area, a sensor must be tested regularly.

Question:
How can I tell that the camera sees something when there is no object in the picture?
Lets assume someone sticks something over the camera and the camera sees nothing (resp. the image is black).
Another thing to consider would be that the lighting conditions change throughout the day.
My idea would be to regularly save an image when there is no object in the frame and then regularly compare that to the current image.
That way I can tell that the camera is seeing something (and also that it hasn't been taped over) but it's not a test to the standard.
Is there a way to test the camera's sensor for function? Or do I have to generate a test signal externally that then appears in the camera image?

thank you in advance for your help and information

Greetings
Martin

  • erik replied to this.

    Hi MartinStuder ,
    I would start with using this demo, if someone sticks something over the cam the NN should return "occlusion". For brightness, camera already handles that (via ISP, 3A), so exposure/sensitivity get automatically adjusted.

    Or do I have to generate a test signal externally that then appears in the camera image?

    Could you elaborate?
    Thanks, Erik

    Hello Erik

    Thanks for your answer. I will test that.

    My idea with the external test signal would have been as follows:
    The camera is built into an aluminum housing, which is sealed waterproof. In front of the camera it has a glass pane.
    I would have built a kind of telepromter in front of the camera and placed e.g. a small LED so that it lights up briefly in a corner of the image during a test. Thus I could have carried out a kind of test and check whether the camera works and delivers an image. However, it would not have been possible to determine whether someone had stuck something over the camera's glass. But if this function already exists (NN "Occlusion") then I can do without my "invention".

    Thank you very much for your valuable support.

    Greetings Martin