
\begin{tikzpicture}[scale= 0.8, transform shape]
  	      	\onslide<1->{
      		\node [rectangle, minimum height=10mm, minimum width=3mm, align=center] (F) at (0,-3){\includegraphics[scale=0.15]{images/s1.jpg}};
      		\node [rectangle, minimum height=10mm, minimum width=3mm, align=center] (F1) at (1.5,-3){\includegraphics[scale=0.15]{images/s2.jpg}};
      		\node [rectangle, minimum height=10mm, minimum width=3mm, align=center] (F2) at (2.5,-3){. . .};
      		\node [rectangle, minimum height=10mm, minimum width=3mm, align=center] (F3) at (4,-3){\includegraphics[scale=0.15]{images/s4.jpg}};
		}
		\onslide<1->{
      		\node [rectangle, minimum height=3mm, minimum width=2cm, align=center] (O) at (2,4.5){o/p: Surya Namaskar};
		}
		\onslide<4->{
		\draw[draw=red!60,fill=red!20,thick,solid,rounded corners] (-0.6,-3.7) rectangle (4.6,1.5);
      		\node [rectangle, minimum height=8mm, minimum width=3mm, fill=blue!50, draw=black] (A) at (0,1){};
      		\node [rectangle, minimum height=10mm, minimum width=3mm, fill=orange!50, draw=black] (Aemb) at (0,-0.5){};
      		\draw[->](Aemb)--(A);
      		\node [rectangle, minimum height=3mm, minimum width=8mm, fill=green!50, draw=black] (N) at (0,-1.75){\tiny CNN};
      		\node [rectangle, minimum height=10mm, minimum width=3mm, align=center] (F) at (0,-3){\includegraphics[scale=0.15]{images/s1.jpg}};
      		\draw[->](F)--(N);
      		\draw[->](N)--(Aemb);
      		
      		\node [rectangle, minimum height=8mm, minimum width=3mm, fill=blue!50, draw=black] (A1) at (1.5,1){};
      		\node [rectangle, minimum height=10mm, minimum width=3mm, fill=orange!50, draw=black] (Aemb1) at (1.5,-0.5){};
      		\draw[->](Aemb1)--(A1);
      		\draw[->](A)--(A1);
      		\node [rectangle, minimum height=3mm, minimum width=8mm, fill=green!50, draw=black] (N1) at (1.5,-1.75){\tiny CNN};
      		\node [rectangle, minimum height=10mm, minimum width=3mm, align=center] (F1) at (1.5,-3){\includegraphics[scale=0.15]{images/s2.jpg}};
      		\draw[->](F1)--(N1);
      		\draw[->](N1)--(Aemb1);

      		\node [rectangle, minimum height=8mm, minimum width=3mm, align=center] (A2) at (2.5,1){. . .};
      		\node [rectangle, minimum height=10mm, minimum width=3mm, align=center] (Aemb2) at (2.5,-0.5){. . .};
      		\node [rectangle, minimum height=3mm, minimum width=8mm, align=center] (N2) at (2.5,-1.75){. . .};
      		\node [rectangle, minimum height=10mm, minimum width=3mm, align=center] (F2) at (2.5,-3){. . .};
      		\draw[->](A1)--(A2);

      		\node [rectangle, minimum height=8mm, minimum width=3mm, fill=blue!50, draw=black] (A3) at (4,1){};
      		\node [rectangle, minimum height=10mm, minimum width=3mm, fill=orange!50, draw=black] (Aemb3) at (4,-0.5){};
      		\draw[->](Aemb3)--(A3);
      		\draw[->](A2)--(A3);
      		\node [rectangle, minimum height=3mm, minimum width=8mm, fill=green!50, draw=black] (N3) at (4,-1.75){\tiny CNN};
      		\node [rectangle, minimum height=10mm, minimum width=3mm, align=center] (F3) at (4,-3){\includegraphics[scale=0.15]{images/s4.jpg}};
      		\draw[->](F3)--(N3);
      		\draw[->](N3)--(Aemb3);
	}
  	\onslide<5->{
		\draw[draw=red!60,fill=green!20,thick,solid,rounded corners] (3,2) rectangle (5,4);
      		\node [rectangle, minimum height=3mm, minimum width=1.5cm, fill=blue!50, draw=black] (B) at (4,2.5){};
      		\draw[->](A3)--(B);
      		\node [rectangle, minimum height=3mm, minimum width=1.5cm, fill=green!200, draw=black] (C) at (4,3.5){};
      		\node [rectangle, minimum height=3mm, minimum width=1.5cm, align=center] (w1) at (4,3.8){\tiny Suryanamaskar};
      		\draw[->](B)--(C);
      		\draw[-](3.7,3.35)--(3.7,3.65);
      		\draw[-](3.9,3.35)--(3.9,3.65);
	}

\end{tikzpicture}
