Photomath

ÜCRETSİZ PREMIUM
Taraf Api Dojo | Güncelleyen 2 months ago | Education
Popülerlik

9.6 / 10

Gecikme

1,761ms

Hizmet Düzeyi

100%

Health Check

N/A

Tüm Tartışmalara Dön

exploiting values of body

Rapid account: Pkasparian 46
pkasparian46
a year ago

Hello, here is the result of the API when i upload a capture of a math problem in jpg :

{
“info”: {
“solver”: {
“version”: “11.7.12”,
“ioVersion”: “9.0.0”,
“normalizedInput”: {
“node”: {
“type”: “equals”,
“children”: [
{
“type”: “var”,
“value”: “I”
},
{
“type”: “definiteintegral”,
“children”: [
{
“type”: “const”,
“value”: “0”
},
{
“type”: “const”,
“value”: “1”
},
{
“type”: “frac”,
“children”: [
{
“type”: “var”,
“value”: “x”
},
{
“type”: “add”,
“children”: [
{
“type”: “var”,
“value”: “x”
},
{
“type”: “const”,
“value”: “1”
}
]
}
]
},
{
“type”: “var”,
“value”: “x”
}
]
}
]
},
“action”: {
“command”: “auto”,
“args”: []
}
}
},
“animations”: {},
“imageToMath”: {
“version”: “2.6.0+Santa_fp16”,
“command”: {
“node”: {
“type”: “equals”,
“children”: [
{
“type”: “var”,
“value”: “I”
},
{
“type”: “definiteintegral”,
“children”: [
{
“type”: “const”,
“value”: “0”
},
{
“type”: “const”,
“value”: “1”
},
{
“type”: “muli”,
“children”: [
{
“type”: “frac”,
“children”: [
{
“type”: “var”,
“value”: “x”
},
{
“type”: “add”,
“children”: [
{
“type”: “var”,
“value”: “x”
},
{
“type”: “const”,
“value”: “1”
}
]
}
]
},
{
“type”: “differential”,
“children”: [
{
“type”: “var”,
“value”: “x”
}
]
}
]
}
]
}
]
},
“action”: {
“command”: “auto”,
“args”: []
}
},
“contentType”: “word-problem”,
“fineGrainedContentType”: “reject/word_problem/not_english”
},
“bookpoint”: {},
“problemSearch”: {
“version”: “5.0.0+arcanine”,
“index”: “277880”,
“clusters”: [
{
“clusterId”: “3a593f01-91e6-4849-8eb3-5dbbe508a229”,
“similarity”: 0.46264126896858215,
“confident”: false
}
]
},
“content”: {
“clusters”: [
{
“clusterId”: “3a593f01-91e6-4849-8eb3-5dbbe508a229”,
“errorType”: “content_missing_metadata”
}
]
},
“nar”: {
“version”: “2.13.1”,
“routes”: []
},
“writingTypeClassifier”: {
“version”: “1.0.0+gemini”,
“type”: “typed”,
“score”: 1
},
“pws”: {
“imageId”: “0609afa3-6d71-46bc-abc1-1b8d59983250”
}
},
“diagnostics”: {
“imageToMathEvaluationTime”: 0,
“imageToMathRequestTime”: 206,
“bookpointRecognizerEvaluationTime”: 79,
“bookpointRecognizerRequestTime”: 86,
“bookpointLookupEvaluationTime”: 3,
“bookpointLookupRequestTime”: 5,
“bookpointEvaluationTime”: 92,
“problemSearchEmbeddingTime”: 12,
“problemSearchSearchTime”: 34,
“problemSearchLookupEvaluationTime”: 0,
“problemSearchLookupRequestTime”: 0,
“problemSearchImagePreparationTime”: 0,
“problemSearchModelTime”: 0,
“problemSearchDatabaseTime”: 0,
“problemSearchEvaluationTime”: 46,
“contentMetadataEvaluationTime”: 0,
“contentMetadataRequestTime”: 3,
“contentSolveTime”: 0,
“solverRequestTime”: 3,
“solverEvaluationTime”: 2,
“translatorRequestTime”: 0,
“translatorEvaluationTime”: 0,
“translatorTotalTime”: 0,
“animationTotalTime”: 0,
“resultGroupsOrderingRequestTime”: 0,
“narRequestTime”: 1,
“narEvaluationTime”: 0,
“resultGroupsOrderingEvaluationTime”: 0,
“dswTotalTime”: 0,
“writingTypeClassifierEvaluationTime”: 27,
“evaluationTime”: 210,
“pwsRequestTime”: 217
}
}

I don’t undertsand how can i use these datas ?
If i get it well, the API can only allow me to scan maths equations ?

I was also wondering how can i download it and use it on a script written by myself?
Thank you in advance

Rapid account: Apidojo
apidojo Commented a year ago

Hello,
Everything is documented right in the Endpoints tab.
Regards.

Rapid account: Pkasparian 46
pkasparian46 Commented a year ago

Can you give me any documentation link on this API please ? I can’t find anything

Rapid account: Apidojo
apidojo Commented a year ago

Hello,

The best bet is to use the official Photomath mobile application to scan the same math problem photo and learn how it render the result for you.

Regards.

Aşağıya yorum ekleyerek tartışmaya katılın:

Yeni yorumlar göndermek için giriş yapın / kaydolun