The flow analysis of two dimensional transient flow over the obstacles with rectangular cross sections was performed. And 190 velocity distributions for each aspect ratio were imaged to provide input data for convolutional neural network learning. The classification and regression methods were used in estimating the aspect ratio from given velocity distributions. As a result the classification method was more exact than the regression method. But both the classification and regression methods gave relatively accurate prediction of the defined aspect ratio judging from the imaged velocity distributions. This confirms that the deep learning technique is applicable to the flow analysis.