Comments (6)
Does the code work for you on some images but not others? Or do you get this error no matter what? It could be specific to the image you're running the code on.
from facer.
I tried looking into that and deleted a few. Should they be the same pixel dimensions? Otherwise, they all have csv landmark files created for them, and all have 67 lines in them, so it seems like it should be OK.
from facer.
If you don't mind uploading an example image that's producing the error, that will help with debugging.
from facer.
sure, I was using these two...also included the .csl files in case that is helpful. thanks so much!
3994169c8d6bbf39265d1618b1c7f60f_landmarks_0.csv
20231222111228-6585b9ff46236751c52f3251jpeg_landmarks_0.csv
from facer.
Any ideas on why i might be getting that error?
from facer.
Hi there, I'm just now getting a chance to take a look. I took screenshots of the two images you provided and ran facer
on them without issue.
![image](https://private-user-images.githubusercontent.com/4922761/335702444-26afc3c1-b4ba-41e1-b80b-44b921aafbb8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAwNDI3MDYsIm5iZiI6MTcyMDA0MjQwNiwicGF0aCI6Ii80OTIyNzYxLzMzNTcwMjQ0NC0yNmFmYzNjMS1iNGJhLTQxZTEtYjgwYi00NGI5MjFhYWZiYjgucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcwMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MDNUMjEzMzI2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZTY1MjI1NmYyZWNlMjMwYmVmZGNkMjMxYzBhODAwODBmNDRlMzk2N2VmMmRiZGQ0ZmRhMTJlZTVkZTIzZWZkMSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.DOYH_eyK7pG7FeifTEl_0sNW_zw5P23LYKmQ3So_kgQ)
The fact that a screenshot worked for me potentially suggests that it's the format your image is saved in, rather than the specific content of the image (i.e. the arrangement of the face) that is causing problems.
It also looks like the landmarks you provided are correctly identifying the face. You could try updating to a newer version of Open CV and dlib
. I'm not sure what else to suggest given that I can't reproduce your error.
![image](https://private-user-images.githubusercontent.com/4922761/335703811-61eb7f48-b797-44c3-a2fa-55e70374bbf1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAwNDI3MDYsIm5iZiI6MTcyMDA0MjQwNiwicGF0aCI6Ii80OTIyNzYxLzMzNTcwMzgxMS02MWViN2Y0OC1iNzk3LTQ0YzMtYTJmYS01NWU3MDM3NGJiZjEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcwMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MDNUMjEzMzI2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OTg2MGFiOTkzZmM2OGU0YzBhZDhmMzFiZmIzNDkyNGQwY2IxMTYzZWMyNjA3OGYwNjFjN2E0N2RlODJkYzI5NSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.HMamHpXDLNu8zQoQjU7nJ63xKeXgi9EdtPNzsZpwvSg)
from facer.
Related Issues (9)
- Is there any reason why `dlib` is not directly included in requirements.txt? HOT 1
- Add animated GIF creation HOT 1
- Modul install on mac os 14.x
- Allow for a different path for the pre-trained model
- Performance improvements with parallelization?
- Error running code HOT 4
- Error: legacy-install-failure HOT 1
- Saves average faces with holes in them HOT 2
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 facer.