{"action":"created","issue":{"url":"https://api.github.com/repos/google-ar/arcore-unity-sdk/issues/385","repository_url":"https://api.github.com/repos/google-ar/arcore-unity-sdk","labels_url":"https://api.github.com/repos/google-ar/arcore-unity-sdk/issues/385/labels{/name}","comments_url":"https://api.github.com/repos/google-ar/arcore-unity-sdk/issues/385/comments","events_url":"https://api.github.com/repos/google-ar/arcore-unity-sdk/issues/385/events","html_url":"https://github.com/google-ar/arcore-unity-sdk/issues/385","id":358685112,"node_id":"MDU6SXNzdWUzNTg2ODUxMTI=","number":385,"title":"Image Database destroys project when setting the physical image width (macOS only)","user":{"login":"SebiP2ER","id":22295258,"node_id":"MDQ6VXNlcjIyMjk1MjU4","avatar_url":"https://avatars3.githubusercontent.com/u/22295258?v=4","gravatar_id":"","url":"https://api.github.com/users/SebiP2ER","html_url":"https://github.com/SebiP2ER","followers_url":"https://api.github.com/users/SebiP2ER/followers","following_url":"https://api.github.com/users/SebiP2ER/following{/other_user}","gists_url":"https://api.github.com/users/SebiP2ER/gists{/gist_id}","starred_url":"https://api.github.com/users/SebiP2ER/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SebiP2ER/subscriptions","organizations_url":"https://api.github.com/users/SebiP2ER/orgs","repos_url":"https://api.github.com/users/SebiP2ER/repos","events_url":"https://api.github.com/users/SebiP2ER/events{/privacy}","received_events_url":"https://api.github.com/users/SebiP2ER/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-10T15:50:41Z","updated_at":"2018-09-21T19:42:35Z","closed_at":null,"author_association":"NONE","body":"When I set the width(m) for one of my images in the Augmented Images Database, I'm not able to build the project anymore. The error in the console says \"chmod: Demo/Assets/GoogleARCore/CLI/augmented_image_cli_osx: No such file or directory\". \r\n\r\nSetting the width back to 0 or reimporting the old version of the database doesn't help. Even reverting the changes via version control didn't help. I had to delete the whole project and set it up from scratch.\r\n\r\nMy colleague works on Windows and doesn't have the problem. I'm on macOS 10.13.6 with Unity 2018.2.6. I could update to his database with the width set and don't have any errors building the project.\r\n\r\nBut even with the physical size set, the tracking doesn't seem to improve. When the user doesn't move enough, ARCore still often times thinks the Image is huge and far away or small and closer to the camera... Maybe there is some fundamental problem in the implementation?"},"comment":{"url":"https://api.github.com/repos/google-ar/arcore-unity-sdk/issues/comments/423650279","html_url":"https://github.com/google-ar/arcore-unity-sdk/issues/385#issuecomment-423650279","issue_url":"https://api.github.com/repos/google-ar/arcore-unity-sdk/issues/385","id":423650279,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzY1MDI3OQ==","user":{"login":"fredsa","id":1235362,"node_id":"MDQ6VXNlcjEyMzUzNjI=","avatar_url":"https://avatars3.githubusercontent.com/u/1235362?v=4","gravatar_id":"","url":"https://api.github.com/users/fredsa","html_url":"https://github.com/fredsa","followers_url":"https://api.github.com/users/fredsa/followers","following_url":"https://api.github.com/users/fredsa/following{/other_user}","gists_url":"https://api.github.com/users/fredsa/gists{/gist_id}","starred_url":"https://api.github.com/users/fredsa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fredsa/subscriptions","organizations_url":"https://api.github.com/users/fredsa/orgs","repos_url":"https://api.github.com/users/fredsa/repos","events_url":"https://api.github.com/users/fredsa/events{/privacy}","received_events_url":"https://api.github.com/users/fredsa/received_events","type":"User","site_admin":false},"created_at":"2018-09-21T19:42:35Z","updated_at":"2018-09-21T19:42:35Z","author_association":"MEMBER","body":"Couple of questions to help troubleshoot:\r\n\r\n1. Does `Demo/Assets/GoogleARCore/CLI/augmented_image_cli_osx` exist?\r\nIf not, please try re-imported the ARCore SDK for Unity `*.unitypackge`\r\n\r\n2. What are the file permissions on this?\r\n`$ ls -l Demo/Assets/GoogleARCore/CLI/augmented_image_cli_osx`\r\nExpect `r` (read) and `x` (execute) bits to be set.\r\nSometimes `x` bit can be dropped when checking files into a version control system.\r\n\r\n—\r\n\r\nSeparately for the tracking quality:\r\n1. Are you specifying the image width in meters? e.g. `0.20` for an images that's 20 cm wide\r\n2. ARCore does need some initial movement on part of the user to be able to see the area that contains the image from different perspectives. Generally a circular motion with the phone, same as what you would use to find a plane, is needed.\r\n\r\nRegarding #2: note that Agumented Images does not detect images in the way that other image detection algorithms might work. Instead, ARCore looks for feature points in the world, uses multiple frames of stereo perspective to determine which feature points lie in a plane, and then compares those feature point to features points stored in the image database.\r\n\r\nHope that helps."}}
{"actor":{"display_login":"fredsa"}}