-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while Posting new Target #2
Comments
Hi there, I haven 't used or tried the plugin recently. Feel free to contribute |
Sure Pwasem ! |
@ssuryakumar did you resolve this ? |
I too had this issue. I scoured the documentation and finally got ahold of Vuforia support. There's nothing wrong with this library. The Vuforia documentation for Adding a Target does not list Guess what? It is. And make sure you base64encode it. When attempting to add a target, you must follow the example in the README var target = {
// name of the target, unique within a database
'name': 'my target',
// width of the target in scene unit
'width': 32.0,
// the base64 encoded binary recognition image data
'image': util.encodeFileBase64(__dirname + '/someImage.png'),
// indicates whether or not the target is active for query
'active_flag': true,
// the base64 encoded application metadata associated with the target
'application_metadata': util.encodeBase64('some metadata about your image')
}; It seems a little obvious but I've been stuck on this all day |
Hello, I don't have any indications that Vuforia changed something in their VWS API. Did someone have any clues ? |
Hello, i am trying to add an Image with addTarget() but I have the following issue : |
While posting new target , it throws error 'Fail'. Format of json is followed as per instructions.
But Get operation works fine. Problem occurs only on creating new target
The text was updated successfully, but these errors were encountered: