cecepnrhya
cecepnrhya
how use this code in object detection ?
> `(boxes, scores, classes, num) = sess.run( > [detection_boxes, detection_scores, detection_classes, num_detections], > feed_dict={image_tensor: image_expanded}) > > (frame_height, frame_width) = image.shape[:2] > > for i in range(len(np.squeeze(scores))): > > ```...
> is used to draw bounding box and label the detected object, for your case if you want to crop the detected object then you don't need visualization part so...
> after this line of code : > `(boxes, scores, classes, num) = sess.run( [detection_boxes, detection_scores, detection_classes, num_detections], feed_dict={image_tensor: image_expanded})` > > put this to crop image: > > `(frame_height,...
> > > after this line of code : > > > `(boxes, scores, classes, num) = sess.run( [detection_boxes, detection_scores, detection_classes, num_detections], feed_dict={image_tensor: image_expanded})` > > > put this to...
> > > after this line of code : > > > `(boxes, scores, classes, num) = sess.run( [detection_boxes, detection_scores, detection_classes, num_detections], feed_dict={image_tensor: image_expanded})` > > > put this to...
> > > > after this line of code : > > > > `(boxes, scores, classes, num) = sess.run( [detection_boxes, detection_scores, detection_classes, num_detections], feed_dict={image_tensor: image_expanded})` > > > >...
> . so I have to change the code like what. can you show