Make dyn_dbn usable with OCV visualizer