Fetch last 5 mins data and add the column also number the failed output

I need your expert advice to get the below output INPUT 2020-01-08 15:39:39,sharm,07296,97 2020-01-08 15:40:40,SRI,6657,197 2020-01-08 15:42:40,rinku,null,0 2020-01-08 15:42:40,SVRMO,8588,39 2020-01-08 15:44:58,MASTA,093720,48 here, fetch the last 5 min data. Assuming the command is run at 15:45, data from (15:40-15:45) should be selected. 2020-01-08 15:40:40,SRI,6657,197 2020-01-08 15:42:40,rinku,null,0 2020-01-08 15:42:40,SVRMO,8588,39 2020-01-08 15:44:58,MASTA,093720,48 The output should be 284,4,3 Where…

Details

How can we add bounding box around canny edge detection output?

I am using canny edge detection and want to create an bounding box around the edges detected such that each word is covered under single bounding box. Canny Edge Output – Bounding box around canny edge output – I have tried following approach contours,hierarchy=cv2.findContours(edged,cv2.RETR_LIST,cv2.CHAIN_APPROX_NONE) boundRect = [None]*len(contours) for i, c in enumerate(contours): contours_poly = cv2.approxPolyDP(c,…

Details