Detection of nano- and micro-particles is an important task for chemical analytics, food industry, biotechnology, environmental monitoring and many other fields of science and industry. For this purpose, a method based on the detection and analysis of minute signals in surface plasmon resonance images due to adsorption of single nanopartciles was developed. This new technology allows one a real-time detection of interaction of single nano- and micro-particles with sensor surface. Adsorption of each nanoparticle leads to characteristic diffraction image whose intensity depends on the size and chemical composition of the particle. The adsorption rate characterizes volume concentration of nano- and micro-particles. Large monitored surface area of sensor enables a high dynamic range of counting and to a correspondingly high dynamic range in concentration scale. Depending on the type of particles and experimental conditions, the detection limit for aqueous samples can be below 1000 particles per microliter. For application of method in complex media, nanoparticle images are discriminated from image perturbations due to matrix components. First, the characteristic SPRM images of nanoparticles (templates) are collected in aqueous suspensions or spiked real samples. Then, the detection of nanoparticles in complex media using template matching is performed. The detection of various NPs in consumer products like cosmetics, mineral water, juices, and wines was shown at sub-ppb level. The method can be applied for ultrasensitive detection and analysis of nano- and micro-particles of biological (bacteria, viruses, endosomes), biotechnological (liposomes, protein nanoparticles for drug delivery) or technical origin.