virakri / eye-tracking-ios-prototype Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
@virakri : How did you come up with : phoneScreenSize - width: 0.0623908297, height: 0.135096943231532 ?
Hi,
I'm curios for your example, and I clone it. I use obviously the iOS 12. I see this log
2018-06-13 10:37:48.224221+0200 Eyes Tracking[383:14693] [DYMTLInitPlatform] platform initialization successful
2018-06-13 10:37:48.297564+0200 Eyes Tracking[383:14672] Metal GPU Frame Capture Enabled
2018-06-13 10:37:48.298064+0200 Eyes Tracking[383:14672] Metal API Validation Enabled
and that 's ok. Maybe the problem is when declare the iPhone X dimension screen.
// actual physical size of iPhoneX screen let phoneScreenSize = CGSize(width: 0.0623908297, height: 0.135096943231532)
// actual point size of iPhoneX screen let phoneScreenPointSize = CGSize(width: 375, height: 812)
I understand the phoneScreenPointSize variable, but I cannot calculate the phoneScreenSize. Can write algorithm, and so calculate for iPhone 6S?
J
Hi,
I have downloaded built and deployed your app; the results are a bit "wild" as it were - the displayed attention point on the screen does not well match what I am actually looking at.
Is there a defined / preferred geometry - the face at one meter, centered on the screen. for example? If so, I will flange that up with cardboard and duct-tape. reading through the code does not give much in the way of a hint for such.
Thanks in advance,
-Rob-
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.