scikit-image / skimage-demos

Note: this repo is not actively maintained, and may be out of date.
Other
37 stars 23 forks source link

Face detection using a cascade classifier no longer works #7

Open changbaishan opened 5 years ago

changbaishan commented 5 years ago

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.

stefanv commented 5 years ago

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

changbaishan commented 5 years ago

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 notifications@github.com 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.

stefanv commented 5 years ago

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.

changbaishan commented 5 years ago

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