Giter Club home page Giter Club logo

Comments (5)

DuinoDu avatar DuinoDu commented on August 16, 2024
tmp = np.zeros(( int(tmph[k]), int(tmpw[k]), 3))

may help.

from mtcnn.

mohanrajmit avatar mohanrajmit commented on August 16, 2024

face detection

from mtcnn.

runhani avatar runhani commented on August 16, 2024

Hello, Same Error happened to me.

I changed 4 lines. and then it's working!

In Line (343,350), (427,428)

tmp = np.zeros((tmph[k], tmpw[k],3))
tmp[dy[k]:edy[k]+1, dx[k]:edx[k]+1] = img[y[k]:ey[k]+1, x[k]:ex[k]+1]

change like below

tmp = np.zeros(( int(tmph[k]), int(tmpw[k]),3))
tmp[ int(dy[k]):int(edy[k])+1, int(dx[k]):int(edx[k])+1] = img[int(y[k]):int(ey[k])+1, int(x[k]):int(ex[k])+1]

from mtcnn.

DuinoDu avatar DuinoDu commented on August 16, 2024

Much thanks!

from mtcnn.

poojithareddy638 avatar poojithareddy638 commented on August 16, 2024

The thread 'MainThread' (0x1930) has exited with code 0 (0x0).
Traceback (most recent call last):
File "C:\Users\Administrator\source\repos\PythonApplication8\PythonApplication8\svmex.py", line 25, in
ymin, ymax= np.zeros(int(Y[:, 1].min()-1)), np.zeros(int(Y[:, 1].max()+1))
IndexError: too many indices for array

can anyone help me to solve this?

from mtcnn.

Related Issues (20)

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.