Giter Site home page Giter Site logo

itainf / aiphoto Goto Github PK

View Code? Open in Web Editor NEW
96.0 96.0 38.0 3.2 MB

最近要去办事情,很多地方都需要证件照,最近刚好在看AI,人脸识别,图形识别相关的知识,就打算利用这些技术开发一个证件照功能

Python 100.00%

aiphoto's People

Contributors

itainf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

aiphoto's Issues

ModuleNotFoundError: No module named 'pymatting_aot.aot' 你好,怎解决这个问题啊,也是版本对的啊

Traceback (most recent call last):
File "D:\install_dir\Anaconda\Ana\envs\AIPhoto\lib\site-packages\pymatting_aot\cc.py", line 36, in
import pymatting_aot.aot
ModuleNotFoundError: No module named 'pymatting_aot.aot'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:/BS/aiphoto-master/m_web/web.py", line 3, in
import m_web.upload as upload
File "D:\BS\aiphoto-master\m_web\upload.py", line 5, in
from to_background import to_background
File "D:\BS\aiphoto-master\to_background\to_background.py", line 1, in
from pymatting import *
File "D:\install_dir\Anaconda\Ana\envs\AIPhoto\lib\site-packages\pymatting_init_.py", line 2, in
import pymatting_aot.cc
File "D:\install_dir\Anaconda\Ana\envs\AIPhoto\lib\site-packages\pymatting_aot\cc.py", line 54, in
compile_modules()
File "D:\install_dir\Anaconda\Ana\envs\AIPhoto\lib\site-packages\pymatting_aot\cc.py", line 8, in compile_modules
cc = CC("aot")
File "D:\install_dir\Anaconda\Ana\envs\AIPhoto\lib\site-packages\numba\pycc\cc.py", line 65, in init
self._toolchain = Toolchain()
File "D:\install_dir\Anaconda\Ana\envs\AIPhoto\lib\site-packages\numba\pycc\platform.py", line 78, in init
self._raise_external_compiler_error()
File "D:\install_dir\Anaconda\Ana\envs\AIPhoto\lib\site-packages\numba\pycc\platform.py", line 121, in _raise_external_compiler_error
raise RuntimeError(msg)
RuntimeError: Attempted to compile AOT function without the compiler used by numpy.distutils present

怎么得到trimap?

您好,我看教程u2net的文章中没有出现分割成trimap的教程,pymatting不是需要原图和trimap图嘛?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.