mesutpiskin / id-card-detector

:credit_card: Detecting the National Identification Cards with Deep Learning (Faster R-CNN)

Home Page:https://mesutpiskin.com/blog/opencv-egitim-serisi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prediction takes 6-7 seconds per image

jgtjerry opened this issue · comments

Hello,

I have been testing the model on some of the images. I am using mac OS

This prediction step takes 6-7 seconds per image:

(boxes, scores, classes, num) = sess.run([detection_boxes, detection_scores, detection_classes, num_detections],feed_dict={image_tensor: image_expanded})

Is this normal? If not, how can I speed it up?

Thanks

Hi jgtjerry,

Sorry, I don't have a suggestion but you can look at this link.
https://www.dlology.com/blog/how-to-run-tensorflow-object-detection-model-faster-with-intel-graphics/