PyImageSearch / Deep-Learning-for-Computer-Vision-with-Python

2 stars 1 forks source link

Question : What does each if dimension of 4D array returned by net.forward() in OpenCV dnn means? #5

Closed thedrewyang closed 3 years ago

thedrewyang commented 3 years ago

Please use this template while reporting bugs inside DL4CV. Issues related to personal project questions or code that we haven't authored will automatically be closed.

Are you using one of our development environments?

We provide a preconfigured AWS AMI and a VM to help our customers skip the environment setup part and jump straight to development. We highly suggest using one of our development environments to run our code.

If the issue is not related to code, then you can simply skip this question.

If you are using your own development environment then please provide the following details.

Describe the issue

Hi, i recently tried COVID-19: Face Mask Detector with OpenCV, Keras/TensorFlow, and Deep Learning in pyiamgesearch's blog and was confused about What each if dimension of 4D array returned by net.forward() in OpenCV dnn means. But i can not find the clear answer of the question in dl4cv books.

Can you please explain that for me? Thank you very in advance!

Best, Drew Yang

Any other information

thedrewyang commented 3 years ago

Here is the array returned by net.forward() detections = net.forward() detections.shape

Out[~]: (1, 1, 200, 7)

sayakpaul commented 3 years ago