*Nix Fanboy 56bd5a2d47 CLI Update!
- CLI is upgraded
2024-10-25 16:02:14 +03:00
2024-10-24 23:50:39 +03:00
2024-10-24 23:50:39 +03:00
2024-10-24 23:50:39 +03:00
2024-10-24 23:50:39 +03:00
2024-10-24 23:50:39 +03:00
2024-10-25 16:02:14 +03:00
2024-10-24 23:50:39 +03:00

OBJDetect

OBJDetect is a program made in Go as an example of how to use unildd library

Requirements

  • Python >= 3.10
  • Cargo
  • Go >= 1.17

Installation

  • Clone this git repository:

    git clone https://github.com/nix-enthusiast/objdetect

  • Go into the repository:

    cd objdetect

  • Run the build.py file:

    python3 build.py --build   # To build the program
    python3 build.py --run     # To directly run the program 
    python3 build.py --clean   # To remove the build directory
    
  • Take the file named objdetect (or objdetect.exe in Windows) from the directory named build and put it anywhere you want!

⚠️ A Small Warning

Since it uses unildd library, the library has to be accessible by the program. To do it on

Windows:

You can put the library in any folder which is in the %PATH variable or put them in the same place

cp build\target\release\unildd.dll \the\folder\in\the\path\var
#or
cp build\target\release\unildd.dll \the\folder\which\includes\objdetect

Linux and macOS:

The same thing as what we do in Windows but the variable is:

  • LD_LIBRARY_PATH for Linux1
  • DYLD_LIBRARY_PATH for macOS2
cp build/target/release/unildd.dll /the/folder/in/the/variable
#or
cp build/target/release/unildd.dll /the/folder/which/includes/objdetect

Other OSes

If your OS is not listed on here, please take a look at the documentation of your OS to find the path and do the same (or similar since OSes work different) thing as what we did above

License

This library is licensed under BSD-3 Clause License

Description
No description provided
Readme BSD-3-Clause 37 KiB
Languages
Go 76.1%
Python 23.9%