skimage-demos icon indicating copy to clipboard operation
skimage-demos copied to clipboard

Face detection using a cascade classifier no longer works

Open changbaishan opened this issue 6 years ago • 4 comments

Load the trained file from the module root.

trained_file = data.lbp_frontal_face_cascade_filename()

the data object no longer contains lbp_frontal_face_cascade_filename()

Initialize the detector cascade.

detector = Cascade(trained_file)

skimage.feature no longer contains Cascade function.

This example needs to be rewritten.

changbaishan avatar Jan 24 '19 23:01 changbaishan

Yeah, this repo is way out of date. Would you like to file a PR?

stefanv avatar Jan 25 '19 01:01 stefanv

Thanks for your answer, Stefan. Can you please explain "file an PR"? I am running your examples to learn.

Best regards,

Yong Liu


From: Stefan van der Walt [email protected] Sent: January 24, 2019 9:11 PM To: scikit-image/skimage-demos Cc: changbaishan; Author Subject: Re: [scikit-image/skimage-demos] Face detection using a cascade classifier no longer works (#7)

Yeah, this repo is way out of date. Would you like to file a PR?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/scikit-image/skimage-demos/issues/7#issuecomment-457418862, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AMGWxDDoeVKF03lq52uEJW70NzemN-3jks5vGlnXgaJpZM4aR78d.

changbaishan avatar Jan 25 '19 14:01 changbaishan

Apologies for the shorthand: PR == pull request, i.e., send us the changes necessary to make this work. If you're not comfortable making those changes, no problem, we can do it.

I would recommend you look at the tutorials repository instead. Those are kept up to date, and are used fairly regularly.

stefanv avatar Jan 29 '19 08:01 stefanv

Hi Stefan,

Thanks for your comments.

I tried to do a PR, but unable to proceed.

Can you please enlighten how I can access the tutorials repository?

Thanks

Yong Liu

changbaishan avatar Jan 29 '19 13:01 changbaishan