Learn How to Clean A Camera Lens from Our Camera Optical Engineers.

Keeping Your Optics Clean is Critical to Image Quality

    If you've spent lots of with cellphone cameras, consumer DSLRs, and/or building your own USB / GMSL cameras, you'll quickly find issues that result from dirty optics. 

    In this article, we'll:

  • Review the impact of dirt and dust on your pictures and/or computer vision system.
  • Identify ways to avoid dirty optics and camera sensors.
  • Explain best practices to clean your camera lens and/or other optics.
A direty action camera lens

Dust and Dirt on your camera lens can ruin a good image and create havoc for computer vision models

1.) Stray Light (Camera Lens Haze And Streaks)

Stray light results from light scattering off surfaces within into your camera. Dust or dirt that is located anywhere in the optical path can create stray light issues.

The easiest way to see an example of stray light is to put a fingerprint on your cellphone camera then point it at a bright overhead light. These streaks are one type of stray light known as flare. See our stray light article for more examples of stray light and the impact.

To avoid stray light, keep your lenses clean and use a lens hood when you're shooting in bright or backlit conditions.

Image Blemish DSLR Dusty Sensor.webp__PID:72ae2b53-65f7-42a1-a0e0-a788c13fb0ee

2.) Blemishes (Spots and Dark Dots)

Blemishes are a complete nuisance because they are challenging to get rid of. Blemishes are largely a result of dust on your camera sensor, but for OEM camera manufacturing, dust on the back of your lens can shake free over time, thus landing on your image sensor.

Blemishes can be post corrected in Photoshop, Lightroom, or with other image processing software. This can be a very tedious process.


How to Avoid Dust and Dirt

1.) Keep it Clean

Store your lens and camera in a clean case. Whenever reattaching your lens (DSLR, mirrorless) to the camera, use a blast of room air on the sensor and lens. Ideally this is desiccated (dry) compressed room air that is also ionized.

If you take your lens off, make sure to do it in the cleanest environment possible, or shield your camera from the environment as best possible, such as in a backpack or vehicle. Here at Commonlands, we perform every step in a Cleanroom Class 1000 equivalent environment in clean rooms and/or laminar flow stations. 

If you are a camera engineer looking for more detailed assembly tips and tricks for volume production, we're happy to help: send us an email. These are too detailed for a quick article.

2.) Preassemble When Possible

If you are creating an embedded camera system, we recommend prethreading the lens with the lens holder before assembling with the PCB. This prevents unwanted anodization debris from landing on the sensor, creating blemishes.

How to clean your camera lens

1.) Blow off your lens using Room Air

First, use room air to remove dust. The best solution is to use dry ionized compressed air.

If you don't have an air compressor and ionized air gun, you can also use a tool like our air duster.

Do not use keyboard cleaning aerosols that contain liquid. This can leave streaks and make it even harder to clean. And in certain cases this can damage the coatings on the lens.

Air Blaster Tool.webp__PID:31ecf51c-a7f9-4e8b-80f6-a9777494d87b
rocket air duster blaster cleaner for lenses
camera sensor cleaning duster
raspberry pi camera lens cleaner
rocket air duster blaster cleaner for lenses
camera sensor cleaning duster
raspberry pi camera lens cleaner

Rocket Air Blaster Dust-Removal

Voir les détails
How to Clean a Camera Lens Cloth.webp__PID:85603226-c199-4efe-a08d-9d4f96b9535e
Camera Lens Cleaning Kit for Raspberry Pi Camera
how to clean a camera lens
Camera Lens Cleaning Kit for Raspberry Pi Camera
how to clean a camera lens

Camera Lens Cleaning Kit w/ Screws

Voir les détails

2.) Use lens cleaning Solution 

Use lens cleaning solution and a cleaning cloth to wipe off any remaining dirt. 

Be sure to avoid using coarse cloths or dirty/sandy cloths as these can scratch the lens element and/or coating.

If you do not have lens cleaning solution, we recomend mixing distilled water with isopropyl alcohol in a 50% 50% mixture.

Quelle est votre application ? Nos lentilles couvrent tout le spectre.

Objectif fisheye M12 215°@6.8mm

CIL220-F2.3-M12B650

Objectif fisheye M12 215°@6.8mm

Objectif M12 à faible distorsion de 2,2 mm

CIL023-F2.2-M12A650

Objectif M12 à faible distorsion de 2,2 mm

Objectif M12 6mm à faible distorsion

CIL059-F1.7-M12B650

Objectif M12 6mm à faible distorsion

La robotique mobile ?

Trouvez une lentille à faible F# ou à faible distorsion pour optimiser votre vision sur ordinateur.

Vision industrielle ?

Nos objectifs compacts et économiques à monture C sont conçus pour les capteurs à obturateur global de format allant jusqu'à 1,1" ~ 1,2".

180°@14.2mm C-Mount Fisheye Lens

CIL505-F2.2-CMANIR

180°@14.2mm C-Mount Fisheye Lens

8mm C-Mount Lens 1.1" 12MP

CIL508-F2.4-CMANIR

8mm C-Mount Lens 1.1" 12MP

12mm C-Mount Lens 1.1" 12MP

CIL512-F2.8-CMANIR

12mm C-Mount Lens 1.1" 12MP

Objectif 3,2 mm sans distorsion

CIL034-F2.3-M12B650

Objectif 3,2 mm sans distorsion

Objectif M12 6mm à faible distorsion

CIL059-F1.7-M12B650

Objectif M12 6mm à faible distorsion

Objectif M12 à faible distorsion de 2,7 mm

CIL027-F2.8-M12A650

Objectif M12 à faible distorsion de 2,7 mm

Intelligent Everywhere ?

Nos objectifs à faible distorsion avec plusieurs F# peuvent être utilisés pour optimiser la profondeur de champ.

La surveillance ?

Nos objectifs fisheye et à correction IR conviennent aux caméras de sonnette et aux scènes éclairées par des infrarouges actifs.

190°@5,7mm Objectif Fisheye M12

CIL290-F2.2-M12A660

190°@5,7mm Objectif Fisheye M12

Objectif M12 de 4,4 mm à correction IR

CIL046-F2.0-M12A650

Objectif M12 de 4,4 mm à correction IR

Objectif téléobjectif 35 mm M12

CIL350-F2.4-M12A650

Objectif téléobjectif 35 mm M12

200°@4.5mm Objectif MiniFisheye M12

CIL914-F2.4-M12B650

200°@4.5mm Objectif MiniFisheye M12

Objectif fisheye 195°@5.2mm

CIL818-F2.0-M12A660

Objectif fisheye 195°@5.2mm

190°@5,7mm Objectif Fisheye M12

CIL290-F2.2-M12A660

190°@5,7mm Objectif Fisheye M12

Faut-il se salir ?

Nos lentilles IP67 et IP69K conviennent aux applications exposées à l'environnement.

La robotique aérienne ?

Nos minuscules lentilles sont idéales pour éviter les collisions et reconnaître les objets.

Objectif fisheye 195°@5.2mm

CIL818-F2.0-M12A660

Objectif fisheye 195°@5.2mm

Petit objectif M12 de 2,1 mm

CIL821-F2.4-M12ANIR

Petit objectif M12 de 2,1 mm

Petit objectif M12 de 2,8 mm

CIL829-F2.5-M08A650

Petit objectif M12 de 2,8 mm