Skip to content

Documentation needed for compiling Nudenet #3

Description

@ssj17vegeta

Hello fellow developer !

There's no documentation provided in the README about the tools and the procedure needed to to compile screen-detect-nude.py, especially since most of the people coming here won't necessarily be Python or DotNet experts (like me who's more of a Godot dev and have zero experience in developing on Windows 😄 ).

So far I guessed :

  • You need to install Python (no version provided, so I took the latest, 3.13.2) with Pip.
  • Trying to pip install auto-py-to-exe from the get go will get you nowhere since you first need to install the requirements (the program complains about the cv2 module missing).
  • You need to bash in the nudenet directory and type "pip install -r requirements.txt"
  • Here you will encounter a variety of challenges : the package "wheel" (a dependency of a dependency listed in the requirements), requires an incredibly enormous download (6GB) to be able to compile : Visual C++ build tools 2017 ( which you can find at https://aka.ms/vs/15/release/vs_buildtools.exe ).
  • Once it's fixed, it goes a bit further. I'm encountering this error : ..\meson.build:32:4: ERROR: Problem encountered: NumPy requires at least vc142 (default with Visual Studio 2019) when building with MSVC_* . So I guess it also requires two different versions installed in the same time ?

I admit I gave up there after 3 hours.

Providing the executable for screen-detect-nude in the Releases section could also be an interesting alternative for people who don't intend to modify the script and test your application as-is.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions