Comments (3)
Also
python facemorpher/averager.py --images=/home/user/Downloads/face_morpher/imgs --out=average.png
OpenCV Error: Assertion failed (points.checkVector(2) >= 0 && (points.depth() == CV_32F || points.depth() == CV_32S)) in boundingRect, file /build/buildd/opencv-2.4.8+dfsg1/modules/imgproc/src/contours.cpp, line 1895
Traceback (most recent call last):
File "facemorpher/averager.py", line 94, in <module>
args['--out'], args['--plot'])
File "facemorpher/averager.py", line 61, in averager
img, points = load_image_points(path, size)
File "facemorpher/averager.py", line 47, in load_image_points
points = locator.face_points(path)
File "/home/user/Downloads/face_morpher/facemorpher/locator.py", line 41, in face_points
points = np.vstack([points, boundary_points(points)])
File "/home/user/Downloads/face_morpher/facemorpher/locator.py", line 16, in boundary_points
x, y, w, h = cv2.boundingRect(np.array([points], np.int32))
cv2.error: /build/buildd/opencv-2.4.8+dfsg1/modules/imgproc/src/contours.cpp:1895: error: (-215) points.checkVector(2) >= 0 && (points.depth() == CV_32F || points.depth() == CV_32S) in function boundingRect
from face_morpher.
False alarm, it works.
from face_morpher.
How did you get this to work?
from face_morpher.
Related Issues (20)
- Problem about stasm in Linux(manjaro) HOT 4
- No module named 'cv2' HOT 3
- Averager OpenCV Error: Unsupported format or combination of formats HOT 1
- (face) D:\workspace\face_morpher-master>python facemorpher\morpher.py --src=facebook\1.jpg --dest=facebook\2.jpg --plot Traceback (most recent call last): File "facemorpher\morpher.py", line 34, in <module> from facemorpher import locator ImportError: No module named 'facemorpher'
- How does dlib replace OpenCV
- The problem with inaccurate face detection HOT 2
- No module named 'facemorpher' HOT 2
- How to use face_morpher for face_swap?
- Video morph
- "Invalid HAAR feature" and no face in image error HOT 3
- Fail to install facemorpher on Ubuntu 18.04 HOT 2
- Image RGB array must be uint8 or floating point; found int32 HOT 3
- Preserve .png transparency?
- How to get rid of the black area HOT 1
- dlib RuntimeError: Unable to open `shape_predictor_68_face_landmarks.dat` HOT 1
- Export/save images with high resolution?
- You replaced opencv with dlib?
- ImportError: /home/cqnu/anaconda3/envs/makeup-transfer/lib/python3.7/site-packages/_stasm.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZTVN2cv12_OutputArrayE
- Troubleshooting for MacOS 12.3.1+Python3.9.6+OpenCV4.5.5
- How can I replace a face resulted using face_morpher?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from face_morpher.