phantom

forensic image processing in python

https://github.com/bconstanzo/phantom

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.4%) to scientific vocabulary
Last synced: 11 months ago · JSON representation

Repository

forensic image processing in python

Basic Info
  • Host: GitHub
  • Owner: bconstanzo
  • License: lgpl-2.1
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 144 MB
Statistics
  • Stars: 7
  • Watchers: 3
  • Forks: 6
  • Open Issues: 1
  • Releases: 5
Created over 7 years ago · Last pushed over 1 year ago
Metadata Files
Readme Changelog License

README.md

phantom

forensic image processing in python

Requirements

  • Python 3.10.x (3.6.x+ still supported, but recommend latest)
  • NumPy 1.15+
  • NumPy 1.22+ (per ONNX runtime)
  • scipy 1.2.1+
  • matplotlib
  • scikit-learn 1.0+
  • OpenCV 4.5+
  • dlib 19.23+ (19.16 and 19.8 still work)
  • ONNX 1.12+
  • protobuf 3.16.0 (as per ONNX runtime dependency)

Installing on Windows

Since Windows tends to be a bit harder to get things working on, we have compiled this instructions to get you going:

  1. Get latest Python 3.10.x or 3.11.x (both have been tested and are supported).
  2. Install Numpy, Scipy, OpenCV, scikit-learn, and matplotlib (in that order) from Christoph Gohlkes wheels at https://www.lfd.uci.edu/~gohlke/pythonlibs/.
    • Note: these wheels are no longer available. We recomend the same approach as Linux and macOS: pip install -r requirements.txt, but consider that those builds may not be as optimized as Gohlkes wheels were. Things may run a bit slower. If you have available old optimized wheels, prefer those to speed things up (quite) a bit.
  3. We've compiled dlib 19.16.0, 19.23.0, and 19.24.2 with AVX for Python 3.6, 3.10, and 3.11 on Windows 64 bits. You can find the corresponding wheels in the /tools directory. Compared to non-AVX version, these are about 2.5 times faster.

    Dlib is developed and maintained by Davis E. King. Check www.dlib.net and https://github.com/davisking/dlib.

  4. You can still download the wheel for dlib 19.8.1 from

  5. You can still download the wheel for dlib 19.8.1 from https://pypi.org/simple/dlib/ (thanks to https://github.com/charlielito/install-dlib-python-windows for the pointer). We don't recommend this, and will eventually drop support for older versions of dlib.

Linux and macOS are simpler:

  1. Open a console and go to the directory where you've cloned phantom.
  2. Run pip install -r requirements.txt.
  3. Run pip install ..

You'll need (and most probably already have installed) the platform compiler and it will build a the dependencies as it installs them. This method also works on Windows, but it's less probable that you'll have a proper build environment already set up, and you'll end up with a lower performance installation.

Notes

  • When usign our compiled dlib wheel, you may get a puzzling ImportError when trying to import dlib (not phantom). If this happens, you can fix it by installing Intel MKL (download from https://software.intel.com/en-us/mkl) and adding the following values to your environment variables:

    • Add to PATH the following values:

    C:\Program Files (x86)\IntelSWTools\compilers_and_libraries\windows\redist\intel64_win\tbb\vc_mt;

    C:\Program Files (x86)\IntelSWTools\compilers_and_libraries\windows\redist\intel64_win\mkl;

    C:\Program Files (x86)\IntelSWTools\compilers_and_libraries\windows\redist\intel64_win\compiler; * LIB (you may have to create it):

    C:\Program Files (x86)\IntelSWTools\compilers_and_libraries\windows\tbb\lib\intel64_win\vc_mt;

    C:\Program Files (x86)\IntelSWTools\compilers_and_libraries\windows\mkl\lib\intel64_win;

    C:\Program Files (x86)\IntelSWTools\compilers_and_libraries\windows\compiler\lib\intel64_win; * INCLUDE

    C:\Program Files (x86)\IntelSWTools\compilers_and_libraries\windows\mkl\include;

    C:\Program Files (x86)\IntelSWTools\compilers_and_libraries\windows\mkl\include\intel64\ilp64;

Owner

  • Login: bconstanzo
  • Kind: user

GitHub Events

Total
  • Push event: 2
  • Pull request event: 1
  • Create event: 1
Last Year
  • Push event: 2
  • Pull request event: 1
  • Create event: 1

Committers

Last synced: almost 3 years ago

All Time
  • Total Commits: 207
  • Total Committers: 7
  • Avg Commits per committer: 29.571
  • Development Distribution Score (DDS): 0.121
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
bconstanzo b****o 182
ayrton30 4****0 13
Javier Ciberman Mora j****n@g****m 4
muramena m****a@g****m 3
Axel Julian Ziegler z****_@h****m 3
Manuel Nucci 3****i 1
Valentino3 5****3 1

Issues and Pull Requests

Last synced: 12 months ago

All Time
  • Total issues: 0
  • Total pull requests: 6
  • Average time to close issues: N/A
  • Average time to close pull requests: about 13 hours
  • Total issue authors: 0
  • Total pull request authors: 4
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 5
  • Bot issues: 0
  • Bot pull requests: 1
Past Year
  • Issues: 0
  • Pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 1
Top Authors
Issue Authors
Pull Request Authors
  • lunalauti (3)
  • dependabot[bot] (2)
  • Valentino3 (1)
  • jhm-ciberman (1)
Top Labels
Issue Labels
Pull Request Labels
dependencies (2) python (2)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 2 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 1
  • Total maintainers: 1
pypi.org: phantom

a library for working with faces in python

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 2 Last month
Rankings
Dependent packages count: 10.0%
Forks count: 14.2%
Stargazers count: 19.3%
Dependent repos count: 21.7%
Average: 24.8%
Downloads: 58.7%
Maintainers (1)
Last synced: 11 months ago

Dependencies

requirements.txt pypi
  • dlib >=19.16.0
  • matplotlib *
  • numpy >=1.15
  • opencv-python >=4.5
  • scikit-learn >=0.20
  • scipy >=1.2
setup.py pypi
  • numpy *
  • opencv-python *
.github/workflows/build.yaml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite