Skip to content
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

allow user to specify consensus and probability when associating media to subject #17

Closed
deepshikha-jha opened this issue May 8, 2019 · 4 comments

Comments

@deepshikha-jha
Copy link

deepshikha-jha commented May 8, 2019

Refer to python sdk associate_media function in subject.py
https://github.com/Cogniac/cogniac-sdk-py/blob/master/cogniac/subject.py

@deepshikha-jha deepshikha-jha changed the title allow user to specify consensus and probability when uploading media allow user to specify consensus and probability when associating media to subject May 14, 2019
@deepshikha-jha
Copy link
Author

  1. User can send both consensus and uncal_prob to the API.
  2. The 3 consensus values are 'True', 'False', 'None'
  3. Default the consensus to 'None'
  4. If the consensus is set to 'None' and the user does not send an uncal_prob, then default uncal_prob to 0.99
  5. If the user sets the consensus to 'True' or 'False' ignore any uncal_prob that is set

@alkadi
Copy link
Contributor

alkadi commented May 14, 2019

  1. If the user sets the consensus to 'True' or 'False' ignore any uncal_prob that is set

Does this mean we just don't upload the uncal_prob field at all when consensus is set to TRUE or FALSE?

@alkadi
Copy link
Contributor

alkadi commented May 14, 2019

I already got the answer on Skype, thank you though! I will make this happen ASAP and push a new SDK out.

@alkadi
Copy link
Contributor

alkadi commented May 22, 2019

Fixed in NuGet Package 1.0.11

@alkadi alkadi closed this as completed May 22, 2019
alkadi added a commit that referenced this issue May 22, 2019
* CogniacCSharpSDK.dll is now version 1.0.0.10
* CogUpload.exe is now version 1.0.0.5

Signed-off-by: Al Alkadi <al@ieee.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants