The OpenCV DNN face detection module can not work with Caffe C++ libraryImage Processing: Algorithm Improvement for 'Coca-Cola Can' RecognitionFace detection using Cascade Classifier in opencv pythonCaffe error: no field named “net”OpenCV 3 C++ : library not foundgoogle::protobuf used in android ndk developopencv 3.1 dnn (caffe) module model import failOpenCV python layer is not working with caffe/digits frameworkHow to run “ssd_object_detection.cpp”?How to load a Keras model build with tensorflow backend in OpenCVWhich protobuf version to use with caffe?
How do you harvest carrots in creative mode?
Lost property on Portuguese trains
Nothing like a good ol' game of ModTen
Wrong arrangement of boxes in raster of tcolorbox
Why in most German places is the church the tallest building?
How do you interpolate outside the range of data?
How to determine car loan length as a function of how long I plan to keep a car
Tex Quotes(UVa 272)
Two questions about typesetting a Roman missal
Could George I (of Great Britain) speak English?
How do I get toddlers to stop asking for food every hour?
Handling Disruptive Student on the Autistic Spectrum
“T” in subscript in formulas
Why do banks “park” their money at the European Central Bank?
How do we calculate energy of food?
Algorithms vs LP or MIP
How many US airports have 4 or more parallel runways?
Did anyone try to find the little box that held Professor Moriarty and his wife after the crash?
Prove your innocence
Sql server sleeping state is increasing using ADO.NET?
I don't have the theoretical background in my PhD topic. I can't justify getting the degree
Why is 1. d4 Nf6 2. c4 e6 3. Bg5 almost never played?
How can I unambiguously ask for a new user's "Display Name"?
How do the Etherealness and Banishment spells interact?
The OpenCV DNN face detection module can not work with Caffe C++ library
Image Processing: Algorithm Improvement for 'Coca-Cola Can' RecognitionFace detection using Cascade Classifier in opencv pythonCaffe error: no field named “net”OpenCV 3 C++ : library not foundgoogle::protobuf used in android ndk developopencv 3.1 dnn (caffe) module model import failOpenCV python layer is not working with caffe/digits frameworkHow to run “ssd_object_detection.cpp”?How to load a Keras model build with tensorflow backend in OpenCVWhich protobuf version to use with caffe?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I download the caffe source code from Github and compile it as C++ static library, and I test the OpenCV face detection Caffe model with the static library, but the lib report below error:
[libprotobuf ERROR D:ThirdPartyLibraryprotobufsrcgoogleprotobuftext_format.cc:296] Error parsing text-format caffe.NetParameter: 984:14: Message type "caffe.LayerParameter" has no field named "norm_param".
F0328 02:08:05.225075 24332 upgrade_proto.cpp:88] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: D:/DATA/PreTrainedModel/cv_facedet/deploy.prototxt
is it means that norm_param
field is implement only by OpenCV, not a standard Caffe field?
opencv caffe face
add a comment |
I download the caffe source code from Github and compile it as C++ static library, and I test the OpenCV face detection Caffe model with the static library, but the lib report below error:
[libprotobuf ERROR D:ThirdPartyLibraryprotobufsrcgoogleprotobuftext_format.cc:296] Error parsing text-format caffe.NetParameter: 984:14: Message type "caffe.LayerParameter" has no field named "norm_param".
F0328 02:08:05.225075 24332 upgrade_proto.cpp:88] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: D:/DATA/PreTrainedModel/cv_facedet/deploy.prototxt
is it means that norm_param
field is implement only by OpenCV, not a standard Caffe field?
opencv caffe face
add a comment |
I download the caffe source code from Github and compile it as C++ static library, and I test the OpenCV face detection Caffe model with the static library, but the lib report below error:
[libprotobuf ERROR D:ThirdPartyLibraryprotobufsrcgoogleprotobuftext_format.cc:296] Error parsing text-format caffe.NetParameter: 984:14: Message type "caffe.LayerParameter" has no field named "norm_param".
F0328 02:08:05.225075 24332 upgrade_proto.cpp:88] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: D:/DATA/PreTrainedModel/cv_facedet/deploy.prototxt
is it means that norm_param
field is implement only by OpenCV, not a standard Caffe field?
opencv caffe face
I download the caffe source code from Github and compile it as C++ static library, and I test the OpenCV face detection Caffe model with the static library, but the lib report below error:
[libprotobuf ERROR D:ThirdPartyLibraryprotobufsrcgoogleprotobuftext_format.cc:296] Error parsing text-format caffe.NetParameter: 984:14: Message type "caffe.LayerParameter" has no field named "norm_param".
F0328 02:08:05.225075 24332 upgrade_proto.cpp:88] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: D:/DATA/PreTrainedModel/cv_facedet/deploy.prototxt
is it means that norm_param
field is implement only by OpenCV, not a standard Caffe field?
opencv caffe face
opencv caffe face
edited Mar 28 at 11:04
Dmytro Prylipko
2,4761 gold badge12 silver badges27 bronze badges
2,4761 gold badge12 silver badges27 bronze badges
asked Mar 27 at 18:18
pangopango
185 bronze badges
185 bronze badges
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Probably, it has different name in Caffe: normalize_bbox_param
. See this discussion.
Hi,Dmytro: Thanks your reply, I replace the "norm_param" to "normalize_bbox_param",but caffe lib report "normalize_bbox_param" is unknown too
– pango
Mar 28 at 13:57
add a comment |
norm_param
is an argument of Normalization layer from SSD Caffe framework: https://github.com/weiliu89/caffe/blob/8a65ae316b34e7c8fdefa6e18bf08a23b78caa0e/src/caffe/proto/caffe.proto#L523
Origin repo: https://github.com/weiliu89/caffe/tree/ssd
There is no SSD object detection networks in the origin Caffe.
OK,so can I run the OpenCV face detection network on the SSD Caffe framework?
– pango
Apr 6 at 18:26
Caffe is not well supported library these days. You may face compilation issues. May I ask you why you wanted to run this model through Caffe but not through OpenCV?
– Dmitry Kurtaev
Apr 7 at 5:05
Because caffe can be accelerated by nvidia cuda,but opencv's dnn module could not be,it only be accelerated by intel's GPU through OpenVINO SDK,but Intel GPU's power is less than nv gpu,so I prefer Caffe;
– pango
Apr 7 at 14:05
Got it. So try this fork. The model has been trained there. Read more in github.com/opencv/opencv/blob/master/samples/dnn/face_detector/….
– Dmitry Kurtaev
Apr 7 at 16:37
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55384058%2fthe-opencv-dnn-face-detection-module-can-not-work-with-caffe-c-library%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Probably, it has different name in Caffe: normalize_bbox_param
. See this discussion.
Hi,Dmytro: Thanks your reply, I replace the "norm_param" to "normalize_bbox_param",but caffe lib report "normalize_bbox_param" is unknown too
– pango
Mar 28 at 13:57
add a comment |
Probably, it has different name in Caffe: normalize_bbox_param
. See this discussion.
Hi,Dmytro: Thanks your reply, I replace the "norm_param" to "normalize_bbox_param",but caffe lib report "normalize_bbox_param" is unknown too
– pango
Mar 28 at 13:57
add a comment |
Probably, it has different name in Caffe: normalize_bbox_param
. See this discussion.
Probably, it has different name in Caffe: normalize_bbox_param
. See this discussion.
answered Mar 28 at 11:06
Dmytro PrylipkoDmytro Prylipko
2,4761 gold badge12 silver badges27 bronze badges
2,4761 gold badge12 silver badges27 bronze badges
Hi,Dmytro: Thanks your reply, I replace the "norm_param" to "normalize_bbox_param",but caffe lib report "normalize_bbox_param" is unknown too
– pango
Mar 28 at 13:57
add a comment |
Hi,Dmytro: Thanks your reply, I replace the "norm_param" to "normalize_bbox_param",but caffe lib report "normalize_bbox_param" is unknown too
– pango
Mar 28 at 13:57
Hi,Dmytro: Thanks your reply, I replace the "norm_param" to "normalize_bbox_param",but caffe lib report "normalize_bbox_param" is unknown too
– pango
Mar 28 at 13:57
Hi,Dmytro: Thanks your reply, I replace the "norm_param" to "normalize_bbox_param",but caffe lib report "normalize_bbox_param" is unknown too
– pango
Mar 28 at 13:57
add a comment |
norm_param
is an argument of Normalization layer from SSD Caffe framework: https://github.com/weiliu89/caffe/blob/8a65ae316b34e7c8fdefa6e18bf08a23b78caa0e/src/caffe/proto/caffe.proto#L523
Origin repo: https://github.com/weiliu89/caffe/tree/ssd
There is no SSD object detection networks in the origin Caffe.
OK,so can I run the OpenCV face detection network on the SSD Caffe framework?
– pango
Apr 6 at 18:26
Caffe is not well supported library these days. You may face compilation issues. May I ask you why you wanted to run this model through Caffe but not through OpenCV?
– Dmitry Kurtaev
Apr 7 at 5:05
Because caffe can be accelerated by nvidia cuda,but opencv's dnn module could not be,it only be accelerated by intel's GPU through OpenVINO SDK,but Intel GPU's power is less than nv gpu,so I prefer Caffe;
– pango
Apr 7 at 14:05
Got it. So try this fork. The model has been trained there. Read more in github.com/opencv/opencv/blob/master/samples/dnn/face_detector/….
– Dmitry Kurtaev
Apr 7 at 16:37
add a comment |
norm_param
is an argument of Normalization layer from SSD Caffe framework: https://github.com/weiliu89/caffe/blob/8a65ae316b34e7c8fdefa6e18bf08a23b78caa0e/src/caffe/proto/caffe.proto#L523
Origin repo: https://github.com/weiliu89/caffe/tree/ssd
There is no SSD object detection networks in the origin Caffe.
OK,so can I run the OpenCV face detection network on the SSD Caffe framework?
– pango
Apr 6 at 18:26
Caffe is not well supported library these days. You may face compilation issues. May I ask you why you wanted to run this model through Caffe but not through OpenCV?
– Dmitry Kurtaev
Apr 7 at 5:05
Because caffe can be accelerated by nvidia cuda,but opencv's dnn module could not be,it only be accelerated by intel's GPU through OpenVINO SDK,but Intel GPU's power is less than nv gpu,so I prefer Caffe;
– pango
Apr 7 at 14:05
Got it. So try this fork. The model has been trained there. Read more in github.com/opencv/opencv/blob/master/samples/dnn/face_detector/….
– Dmitry Kurtaev
Apr 7 at 16:37
add a comment |
norm_param
is an argument of Normalization layer from SSD Caffe framework: https://github.com/weiliu89/caffe/blob/8a65ae316b34e7c8fdefa6e18bf08a23b78caa0e/src/caffe/proto/caffe.proto#L523
Origin repo: https://github.com/weiliu89/caffe/tree/ssd
There is no SSD object detection networks in the origin Caffe.
norm_param
is an argument of Normalization layer from SSD Caffe framework: https://github.com/weiliu89/caffe/blob/8a65ae316b34e7c8fdefa6e18bf08a23b78caa0e/src/caffe/proto/caffe.proto#L523
Origin repo: https://github.com/weiliu89/caffe/tree/ssd
There is no SSD object detection networks in the origin Caffe.
answered Apr 6 at 6:58
Dmitry KurtaevDmitry Kurtaev
4733 silver badges12 bronze badges
4733 silver badges12 bronze badges
OK,so can I run the OpenCV face detection network on the SSD Caffe framework?
– pango
Apr 6 at 18:26
Caffe is not well supported library these days. You may face compilation issues. May I ask you why you wanted to run this model through Caffe but not through OpenCV?
– Dmitry Kurtaev
Apr 7 at 5:05
Because caffe can be accelerated by nvidia cuda,but opencv's dnn module could not be,it only be accelerated by intel's GPU through OpenVINO SDK,but Intel GPU's power is less than nv gpu,so I prefer Caffe;
– pango
Apr 7 at 14:05
Got it. So try this fork. The model has been trained there. Read more in github.com/opencv/opencv/blob/master/samples/dnn/face_detector/….
– Dmitry Kurtaev
Apr 7 at 16:37
add a comment |
OK,so can I run the OpenCV face detection network on the SSD Caffe framework?
– pango
Apr 6 at 18:26
Caffe is not well supported library these days. You may face compilation issues. May I ask you why you wanted to run this model through Caffe but not through OpenCV?
– Dmitry Kurtaev
Apr 7 at 5:05
Because caffe can be accelerated by nvidia cuda,but opencv's dnn module could not be,it only be accelerated by intel's GPU through OpenVINO SDK,but Intel GPU's power is less than nv gpu,so I prefer Caffe;
– pango
Apr 7 at 14:05
Got it. So try this fork. The model has been trained there. Read more in github.com/opencv/opencv/blob/master/samples/dnn/face_detector/….
– Dmitry Kurtaev
Apr 7 at 16:37
OK,so can I run the OpenCV face detection network on the SSD Caffe framework?
– pango
Apr 6 at 18:26
OK,so can I run the OpenCV face detection network on the SSD Caffe framework?
– pango
Apr 6 at 18:26
Caffe is not well supported library these days. You may face compilation issues. May I ask you why you wanted to run this model through Caffe but not through OpenCV?
– Dmitry Kurtaev
Apr 7 at 5:05
Caffe is not well supported library these days. You may face compilation issues. May I ask you why you wanted to run this model through Caffe but not through OpenCV?
– Dmitry Kurtaev
Apr 7 at 5:05
Because caffe can be accelerated by nvidia cuda,but opencv's dnn module could not be,it only be accelerated by intel's GPU through OpenVINO SDK,but Intel GPU's power is less than nv gpu,so I prefer Caffe;
– pango
Apr 7 at 14:05
Because caffe can be accelerated by nvidia cuda,but opencv's dnn module could not be,it only be accelerated by intel's GPU through OpenVINO SDK,but Intel GPU's power is less than nv gpu,so I prefer Caffe;
– pango
Apr 7 at 14:05
Got it. So try this fork. The model has been trained there. Read more in github.com/opencv/opencv/blob/master/samples/dnn/face_detector/….
– Dmitry Kurtaev
Apr 7 at 16:37
Got it. So try this fork. The model has been trained there. Read more in github.com/opencv/opencv/blob/master/samples/dnn/face_detector/….
– Dmitry Kurtaev
Apr 7 at 16:37
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55384058%2fthe-opencv-dnn-face-detection-module-can-not-work-with-caffe-c-library%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown