Real-time Optical Pattern Recognizer Using Dynamic Hologram