polimi-ispl / prnu-anonymization-detector

IMAGE ANONYMIZATION DETECTION WITH DEEP HANDCRAFTED FEATURES (ICIP 2019)
MIT License
10 stars 0 forks source link

Cannot find PRNU functions - Weiner_adaptive #2

Closed StephenAH closed 4 years ago

StephenAH commented 5 years ago

Hi,

When running db_classes.py, get error message when looking for PRNU functions

from prnu.prnu.functions import wiener_adaptive, zero_mean_total

Is this missing from the build?

nicobonne commented 5 years ago

Hi @StephenAH , sorry for the late reply, I somehow missed the notification.

PRNU functions are contained into the submodule prnu. As mentioned here, in order to clone the repository with the submodule you need to add the --recurse-submodules flag to the clone command, for instance: git clone --recurse-submodules https://github.com/polimi-ispl/prnu-anonymization-detector.git

Alternatively, you can clone the prnu repository into your already cloned prnu folder (which I desume is empty).

Let me know if this solve the issue, I'm going to add this information to the README.

StephenAH commented 5 years ago

Thanks Nicolo,

Appreciate your response. Will test and revert. However, will be in a week now as I am out of the office.

Regards Stephen Holmes CTO & Head of Security Systems ObjectTech Group Ltd +44 207 993 5512 [signature_304301741] The company accepts no liability for the content of this email, or for the consequences of any actions taken on the basis of the information provided, unless that information is subsequently confirmed in writing. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.

From: Nicolò Bonettini notifications@github.com Reply to: polimi-ispl/prnu-anonymization-detector reply@reply.github.com Date: Tuesday, 10 September 2019 at 09:21 To: polimi-ispl/prnu-anonymization-detector prnu-anonymization-detector@noreply.github.com Cc: Stephen Holmes stephenh@objecttechchain.onmicrosoft.com, Mention mention@noreply.github.com Subject: Re: [polimi-ispl/prnu-anonymization-detector] Cannot find PRNU functions - Weiner_adaptive (#2)

Hi @StephenAHhttps://github.com/StephenAH , sorry for the late reply, I somehow missed the notification.

PRNU functions are contained into the submodule prnuhttps://github.com/polimi-ispl/prnu-python/tree/ebf0ec76e1aea8683d76707011ee16b29eb0619a. As mentioned herehttps://stackoverflow.com/a/4438292/3409864, in order to clone the repository with the submodule you need to add the --recurse-submodules flag to the clone command, for instance: git clone --recurse-submodules https://github.com/polimi-ispl/prnu-anonymization-detector.git

Alternatively, you can clone the prnuhttps://github.com/polimi-ispl/prnu-python/tree/ebf0ec76e1aea8683d76707011ee16b29eb0619a repository into your already cloned prnu folder (which I desume is empty).

Let me know if this solve the issue, I'm going to add this information to the README.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/polimi-ispl/prnu-anonymization-detector/issues/2?email_source=notifications&email_token=AL42BZORWB6GFM22IHVANDLQI7CQDA5CNFSM4HYQWQO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6LV4MI#issuecomment-530013745, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AL42BZO5XSD5VQ46BP73MQTQI7CQDANCNFSM4HYQWQOQ.