When extracting subtitles with OCR in Azure AI Video Indexer, is there a way to extract only the subtitles at the bottom of the video that I want?
1 - When extracting subtitles with OCR in Azure AI Video Indexer, is there a way to extract only the subtitles at the bottom of the video that I want?
2 - I want to make a document of the subtitles created by OCR. Is there any way to save them? It seems that only the speech recognition subtitles are available for download.
Azure AI Video Indexer
-
romungi-MSFT 42,311 Reputation points • Microsoft Employee
2023-08-18T15:49:12.25+00:00 @성현 최 For the first question, are you using a video that is already having subtitles? Also, are you referring to using the insights option with ocr option?
In that case, I do not see an option to selectively provide an option to extract text from a certain area of the media or image in this case.
For the second question, If you are already using a video with subtitles and if you are using the insights option with ocr, try downloading the JSON after indexing and checking the insights for ocr text.
-
romungi-MSFT 42,311 Reputation points • Microsoft Employee
2023-08-21T12:06:59.3933333+00:00 @성현 최 Did you get a chance to check if the above response helped?
-
Deleted
This comment has been deleted due to a violation of our Code of Conduct. The comment was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
-
성현 최 0 Reputation points
2023-08-22T04:53:42.53+00:00 Hi, thanks for your reply, yes, the YouTube video contains subtitles, and I want to extract the subtitles from it.
So, is it possible to use the API to extract subtitles at a specific location in the video, because there are unnecessary characters at the top of the video?
I downloaded the JSON file, but it doesn't contain only the OCR-extracted Korean characters. It has a complicated format as shown below. There are also duplicate characters, so it's difficult to identify only the OCR-extracted characters. Is there any way to filter out only the OCR-extracted characters from the JSON file?
{"Results":[{"Ocr":{"apiVersion":"internal-latest","modelId":"prebuilt-read-2022-04-30","stringIndexType":"textElements","content":"ABC M.\nMore\n한국을 방문한 외국인들 중","pages":[{"pageNumber":1,"angle":91.188,"width":640.0,"height":360.0,"unit":"pixel","words":[{"content":"ABC","boundingBox":[495.0,169.0,496.0,201.0,479.0,203.0,477.0,171.0],"confidence":0.969,"span":{"offset":0,"length":3}},{"content":"M.","boundingBox":[496.0,211.0,496.0,231.0,479.0,232.0,479.0,212.0],"confidence":0.394,"span":{"offset":4,"length":2}},{"content":"More","boundingBox":[447.0,7.0,446.0,71.0,421.0,71.0,423.0,6.0],"confidence":0.86,"span":{"offset":7,"length":4}},{"content":"한","boundingBox":[174.0,303.0,190.0,303.0,190.0,330.0,174.0,330.0],"confidence":0.998,"span":{"offset":12,"length":1}},{"content":"국","boundingBox":[203.0,303.0,220.0,303.0,219.0,331.0,203.0,331.0],"confidence":0.996,"span":{"offset":13,"length":1}},{"content":"을","boundingBox":[229.0,303.0,245.0,303.0,245.0,331.0,229.0,331.0],"confidence":0.991,"span":{"offset":14,"length":1}},{"content":"방","boundingBox":[258.0,303.0,275.0,303.0,275.0,331.0,258.0,331.0],"confidence":0.997,"span":{"offset":16,"length":1}},{"content":"문","boundingBox":[284.0,303.0,300.0,303.0,300.0,331.0,284.0,331.0],"confidence":0.998,"span":{"offset":17,"length":1}},{"content":"한","boundingBox":[310.0,303.0,326.0,303.0,326.0,331.0,309.0,331.0],"confidence":0.996,"span":{"offset":18,"length":1}},{"content":"외","boundingBox":[339.0,303.0,355.0,303.0,355.0,331.0,339.0,331.0],"confidence":0.987,"span":{"offset":20,"length":1}},{"content":"국","boundingBox":[368.0,303.0,385.0,303.0,385.0,331.0,368.0,331.0],"confidence":0.996,"span":{"offset":21,"length":1}},{"content":"인","boundingBox":[390.0,303.0,407.0,303.0,407.0,331.0,390.0,331.0],"confidence":0.996,"span":{"offset":22,"length":1}},{"content":"들","boundingBox":[420.0,303.0,436.0,303.0,436.0,331.0,420.0,331.0],"confidence":0.987,"span":{"offset":23,"length":1}},{"content":"중","boundingBox":[449.0,303.0,466.0,303.0,466.0,331.0,449.0,331.0],"confidence":0.997,"span":{"offset":25,"length":1}}],"selectionMarks":null,"lines":[{"content":"ABC M.","boundingBox":[495.0,169.0,496.0,232.0,478.0,233.0,477.0,169.0],"spans":[{"offset":0,"length":6}]},{"content":"More","boundingBox":[447.0,3.0,446.0,76.0,420.0,75.0,422.0,3.0],"spans":[{"offset":7,"length":4}]},{"content":"한국을 방문한 외국인들 중","boundingBox":[172.0,302.0,466.0,303.0,466.0,331.0,172.0,330.0],"spans":[{"offset":12,"length":14}]}],"spans":[{"offset":0,"length":26}]}],"tables":null,"blocks":null,"detectedLocales":null,"keyValuePairs":null,"entities":null,"styles":[],"documents":null},"FrameIndex":0},{"Ocr":{"apiVersion":"internal-latest","modelId":"prebuilt-read-2022-04-30","stringIndexType":"textElements","content":"ABC-\nMore\n한국을 방문한 외국인들 중","pages":[{"pageNumber":1,"angle":90.4407,"width":640.0,"height":360.0,"unit":"pixel","words":[{"content":"ABC-","boundingBox":[498.0,166.0,498.0,214.0,481.0,215.0,479.0,167.0],"confidence":0.689,"span":{"offset":0,"length":4}},{"content":"More","boundingBox":[449.0,8.0,448.0,69.0,423.0,69.0,424.0,8.0],"confidence":0.661,"span":{"offset":5,"length":4}},{"content":"한","boundingBox":[174.0,304.0,190.0,304.0,190.0,331.0,173.0,331.0],"confidence":0.998,"span":{"offset":10,"length":1}},{"content":"국","boundingBox":[203.0,304.0,219.0,303.0,219.0,331.0,202.0,331.0],"confidence":0.996,"span":{"offset":11,"length":1}},{"content":"을","boundingBox":[228.0,303.0,245.0,303.0,244.0,331.0,228.0,331.0],"confidence":0.996,"span":{"offset":12,"length":1}},{"content":"방","boundingBox":[257.0,303.0,274.0,303.0,274.0,331.0,257.0,331.0],"confidence":0.998,"span":{"offset":14,"length":1}},{"content":"문","boundingBox":[283.0,303.0,299.0,303.0,299.0,331.0,283.0,331.0],"confidence":0.998,"span":{"offset":15,"length":1}},{"content":"한","boundingBox":[308.0,303.0,325.0,303.0,325.0,331.0,308.0,331.0],"confidence":0.996,"span":{"offset":16,"length":1}},{"content":"외","boundingBox":[337.0,303.0,354.0,303.0,354.0,331.0,338.0,331.0],"confidence":0.988,"span":{"offset":18,"length":1}},{"content":"국","boundingBox":[366.0,303.0,383.0,303.0,383.0,331.0,367.0,331.0],"confidence":0.996,"span":{"offset":19,"length":1}},{"content":"인","boundingBox":[388.0,303.0,404.0,303.0,405.0,331.0,389.0,331.0],"confidence":0.996,"span":{"offset":20,"length":1}},{"content":"들","boundingBox":[417.0,303.0,434.0,303.0,434.0,331.0,418.0,331.0],"confidence":0.992,"span":{"offset":21,"length":1}},{"content":"중","boundingBox":[446.0,303.0,463.0,303.0,464.0,331.0,447.0,331.0],"confidence":0.997,"span":{"offset":23,"length":1}}],"selectionMarks":null,"lines":[{"content":"ABC-","boundingBox":[498.0,164.0,499.0,232.0,480.0,232.0,478.0,165.0],"spans":[{"offset":0,"length":4}]},{"content":"More","boundingBox":[448.0,8.0,448.0,72.0,423.0,73.0,424.0,8.0],"spans":[{"offset":5,"length":4}]},{"content":"한국을 방문한 외국인들 중","boundingBox":[172.0,303.0,466.0,302.0,466.0,330.0,172.0,330.0],"spans":[{"offset":10,"length":14}]}],"spans":[{"offset":0,"length":24}]}],"tables":null,"blocks":null,"detectedLocales":null,"keyValuePairs":null,"entities":null,"styles":[],"documents":null},"FrameIndex":30},{"Ocr":{"apiVersion":"internal-latest","modelId":"prebuilt-read-2022-04-30","stringIndexType":"textElements","content":"식물에 관심이 사람들이","pages":[{"pageNumber":1,"angle":0.0,"width":640.0,"height":360.0,"unit":"pixel","words":[{"content":"식","boundingBox":[189.0,304.0,204.0,304.0,205.0,330.0,189.0,329.0],"confidence":0.996,"span":{"offset":0,"length":1}},{"content":"물","boundingBox":[217.0,304.0,232.0,304.0,233.0,330.0,217.0,330.0],"confidence":0.996,"span":{"offset":1,"length":1}},{"content":"에","boundingBox":[234.0,304.0,250.0,304.0,250.0,330.0,234.0,330.0],"confidence":0.996,"span":{"offset":2,"length":1}},{"content":"관","boundingBox":[272.0,304.0,288.0,304.0,289.0,330.0,273.0,330.0],"confidence":0.994,"span":{"offset":4,"length":1}},{"content":"심","boundingBox":[300.0,304.0,316.0,304.0,317.0,331.0,301.0,330.0],"confidence":0.998,"span":{"offset":5,"length":1}},{"content":"이","boundingBox":[318.0,303.0,334.0,303.0,334.0,331.0,318.0,331.0],"confidence":0.996,"span":{"offset":6,"length":1}},{"content":"사","boundingBox":[353.0,303.0,369.0,303.0,369.0,331.0,353.0,331.0],"confidence":0.991,"span":{"offset":8,"length":1}},{"content":"람","boundingBox":[384.0,303.0,400.0,303.0,400.0,330.0,385.0,330.0],"confidence":0.996,"span":{"offset":9,"length":1}},{"content":"들","boundingBox":[409.0,303.0,425.0,303.0,425.0,330.0,409.0,330.0],"confidence":0.997,"span":{"offset":10,"length":1}},{"content":"이","boundingBox":[426.0,303.0,442.0,303.0,442.0,330.0,427.0,330.0],"confidence":0.995,"span":{"offset":11,"length":1}}],"selectionMarks":null,"lines":[{"content":"식물에 관심이 사람들이","boundingBox":[187.0,303.0,454.0,303.0,454.0,330.0,187.0,330.0],"spans":[{"offset":0,"length":12}]}],"spans":[{"offset":0,"length":12}]}],"tables":null,"blocks":null,"detectedLocales":null,"keyValuePairs":null,"entities":null,"styles":[],"documents":null},"FrameIndex":60},{"Ocr":{"apiVersion":"internal-latest","modelId":"prebuilt-read-2022-04-30","stringIndexType":"textElements","content":"식물에 관심이 사람들이","pages":[{"pageNumber":1,"angle":0.1077,"width":640.0,"height":360.0,"unit":"pixel","words":[{"content":"식","boundingBox":[192.0,303.0,208.0,303.0,208.0,330.0,192.0,329.0],"confidence":0.996,"span":{"offset":0,"length":1}},{"content":"물","boundingBox":[217.0,303.0,232.0,303.0,232.0,330.0,217.0,330.0],"confidence":0.997,"span":{"offset":1,"length":1}},{"content":"에","boundingBox":[234.0,303.0,250.0,303.0,250.0,330.0,234.0,330.0],"confidence":0.996,"span":{"offset":2,"length":1}},{"content":"관","boundingBox":[273.0,303.0,289.0,303.0,289.0,331.0,273.0,330.0],"confidence":0.995,"span":{"offset":4,"length":1}},{"content":"심","boundingBox":[301.0,304.0,317.0,304.0,317.0,331.0,301.0,331.0],"confidence":0.998,"span":{"offset":5,"length":1}},{"content":"이","boundingBox":[318.0,304.0,334.0,304.0,334.0,331.0,319.0,331.0],"confidence":0.996,"span":{"offset":6,"length":1}},{"content":"사","boundingBox":[350.0,304.0,366.0,304.0,366.0,331.0,350.0,331.0],"confidence":0.996,"span":{"offset":8,"length":1}},{"content":"람","boundingBox":[382.0,304.0,398.0,304.0,398.0,331.0,382.0,331.0],"confidence":0.996,"span":{"offset":9,"length":1}},{"content":"들","boundingBox":[410.0,304.0,423.0,304.0,424.0,330.0,410.0,331.0],"confidence":0.996,"span":{"offset":10,"length":1}},{"content":"이","boundingBox":[424.0,304.0,440.0,304.0,440.0,330.0,424.0,330.0],"confidence":0.995,"span":{"offset":11,"length":1}}],"selectionMarks":null,"lines":[{"content":"식물에 관심이 사람들이","boundingBox":[187.0,303.0,453.0,303.0,453.0,330.0,187.0,329.0],"spans":[{"offset":0,"length":12}]}],"spans":[{"offset":0,"length":12}]}],"tables":null,"blocks":null,"detectedLocales":null,"keyValuePairs":null,"entities":null,"styles":[],"documents":null},"FrameIndex":90},{"Ocr":{"apiVersion":"internal-latest","modelId":"prebuilt-read-2022-04-30","stringIndexType":"textElements","content":"한국의 '이 곳'만 갔다 하면","pages":[{"pageNumber":1,"angle":0.0,"width":640.0,"height":360.0,"unit":"pixel","words":[{"content":"한","boundingBox":[175.0,302.0,192.0,302.0,191.0,331.0,175.0,331.0],"confidence":0.997,"span":{"offset":0,"length":1}},{"content":"국","boundingBox":[205.0,302.0,221.0,303.0,221.0,331.0,204.0,331.0],"confidence":0.996,"span":{"offset":1,"length":1}},{"content":"의","boundingBox":[227.0,303.0,243.0,303.0,243.0,331.0,226.0,331.0],"confidence":0.996,"span":{"offset":2,"length":1}},{"content":"'","boundingBox":[249.0,303.0,260.0,303.0,259.0,331.0,248.0,331.0],"confidence":0.99,"span":{"offset":4,"length":1}},{"content":"이","boundingBox":[260.0,303.0,277.0,303.0,276.0,331.0,260.0,331.0],"confidence":0.996,"span":{"offset":5,"length":1}},{"content":"곳","boundingBox":[297.0,303.0,311.0,303.0,311.0,331.0,296.0,331.0],"confidence":0.994,"span":{"offset":7,"length":1}},{"content":"'","boundingBox":[312.0,303.0,326.0,303.0,325.0,331.0,311.0,331.0],"confidence":0.987,"span":{"offset":8,"length":1}},{"content":"만","boundingBox":[327.0,303.0,343.0,303.0,342.0,331.0,326.0,331.0],"confidence":0.996,"span":{"offset":9,"length":1}},{"content":"갔","boundingBox":[360.0,303.0,376.0,303.0,376.0,331.0,359.0,331.0],"confidence":0.926,"span":{"offset":11,"length":1}},{"content":"다","boundingBox":[382.0,303.0,399.0,303.0,398.0,331.0,381.0,331.0],"confidence":0.996,"span":{"offset":12,"length":1}},{"content":"하","boundingBox":[415.0,303.0,432.0,303.0,431.0,331.0,414.0,331.0],"confidence":0.994,"span":{"offset":14,"length":1}},{"content":"면","boundingBox":[445.0,303.0,461.0,302.0,460.0,330.0,444.0,330.0],"confidence":0.997,"span":{"offset":15,"length":1}}],"selectionMarks":null,"lines":[{"content":"한국의 '이 곳'만 갔다 하면","boundingBox":[173.0,302.0,465.0,302.0,465.0,330.0,173.0,330.0],"spans":[{"offset":0,"length":16}]}],"spans":[{"offset":0,"length":16}]}],"tables":null,"blocks":null,"detectedLocales":null,"keyValuePairs":null,"entities":null,"styles":[],"documents":null},"FrameIndex":120},{"Ocr":{"apiVersion":"internal-latest","modelId":"prebuilt-read-2022-04-30","stringIndexType":"textElements","content":"한국의 '이 곳'만 갔다 하면","pages":[{"pageNumber":1,"angle":0.0,"width":640.0,"height":360.0,"unit":"pixel","words":[{"content":"한","boundingBox":[175.0,303.0,191.0,303.0,192.0,331.0,175.0,331.0],"confidence":0.996,"span":{"offset":0,"length":1}},{"content":"국","boundingBox":[204.0,303.0,221.0,303.0,221.0,331.0,205.0,331.0],"confidence":0.997,"span":{"offset":1,"length":1}},{"content":"의","boundingBox":[227.0,303.0,243.0,303.0,243.0,331.0,227.0,331.0],"confidence":0.996,"span":{"offset":2,"length":1}},{"content":"'","boundingBox":[249.0,303.0,259.0,303.0,259.0,331.0,249.0,331.0],"confidence":0.99,"span":{"offset":4,"length":1}},{"content":"이","boundingBox":[260.0,303.0,277.0,303.0,276.0,331.0,260.0,331.0],"confidence":0.996,"span":{"offset":5,"length":1}},{"content":"곳","boundingBox":[301.0,303.0,315.0,303.0,315.0,331.0,300.0,331.0],"confidence":0.994,"span":{"offset":7,"length":1}},{"content":"'","boundingBox":[315.0,303.0,330.0,303.0,329.0,331.0,315.0,331.0],"confidence":0.965,"span":{"offset":8,"length":1}},{"content":"만","boundingBox":[330.0,303.0,347.0,303.0,346.0,331.0,330.0,331.0],"confidence":0.996,"span":{"offset":9,"length":1}},{"content":"갔","boundingBox":[363.0,303.0,380.0,303.0,380.0,331.0,363.0,331.0],"confidence":0.46,"span":{"offset":11,"length":1}},{"content":"다","boundingBox":[386.0,303.0,402.0,303.0,402.0,331.0,385.0,331.0],"confidence":0.996,"span":{"offset":12,"length":1}},{"content":"하","boundingBox":[419.0,303.0,435.0,303.0,435.0,331.0,418.0,331.0],"confidence":0.99,"span":{"offset":14,"length":1}},{"content":"면","boundingBox":[448.0,303.0,465.0,303.0,464.0,331.0,448.0,331.0],"confidence":0.996,"span":{"offset":15,"length":1}}],"selectionMarks":null,"lines":[{"content":"한국의 '이 곳'만 갔다 하면","boundingBox":[173.0,302.0,465.0,302.0,465.0,330.0,173.0,330.0],"spans":[{"offset":0,"length":16}]}],"spans":[{"offset":0,"length":16}]}],"tables":null,"blocks":null,"detectedLocales":null,"keyValuePairs":null,"entities":null,"styles":[],"documents":null},"FrameIndex":150},{"Ocr":{"apiVersion":"internal-latest","modelId":"prebuilt-read-2022-04-30","stringIndexType":"textElements","content":"큰 충격에 휩싸인다고 합니다.","pages":[{"pageNumber":1,"angle":0.0,"width":640.0,"height":360.0,"unit":"pixel","words":[{"content":"큰","boundingBox":[156.0,303.0,172.0,303.0,172.0,331.0,156.0,330.0],"confidence":0.991,"span":{"offset":0,"length":1}},{"content":"충","boundingBox":[192.0,303.0,209.0,303.0,209.0,331.0,192.0,331.0],"confidence":0.996,"span":{"offset":2,"length":1}},{"content":"격","boundingBox":[218.0,303.0,232.0,303.0,232.0,331.0,218.0,331.0],"confidence":0.995,"span":{"offset":3,"length":1}},{"content":"에","boundingBox":[233.0,303.0,249.0,303.0,249.0,331.0,233.0,331.0],"confidence":0.997,"span":{"offset":4,"length":1}},{"content":"휩","boundingBox":[273.0,303.0,290.0,302.0,290.0,331.0,273.0,331.0],"confidence":0.971,"span":{"offset":6,"length":1}},{"content":"싸","boundingBox":[295.0,302.0,312.0,302.0,312.0,331.0,295.0,331.0],"confidence":0.926,"span":{"offset":7,"length":1}},{"content":"인","boundingBox":[324.0,302.0,341.0,302.0,341.0,331.0,325.0,331.0],"confidence":0.996,"span":{"offset":8,"length":1}},{"content":"다","boundingBox":[346.0,302.0,363.0,303.0,363.0,331.0,347.0,331.0],"confidence":0.998,"span":{"offset":9,"length":1}},{"content":"고","boundingBox":[376.0,303.0,392.0,303.0,393.0,331.0,376.0,331.0],"confidence":0.996,"span":{"offset":10,"length":1}},{"content":"합","boundingBox":[409.0,303.0,425.0,303.0,426.0,331.0,409.0,331.0],"confidence":0.996,"span":{"offset":12,"length":1}},{"content":"니","boundingBox":[427.0,303.0,444.0,303.0,444.0,330.0,428.0,331.0],"confidence":0.994,"span":{"offset":13,"length":1}},{"content":"다","boundingBox":[453.0,303.0,469.0,303.0,470.0,330.0,454.0,330.0],"confidence":0.996,"span":{"offset":14,"length":1}},{"content":".","boundingBox":[471.0,303.0,481.0,303.0,482.0,330.0,472.0,330.0],"confidence":0.996,"span":{"offset":15,"length":1}}],"selectionMarks":null,"lines":[{"content":"큰 충격에 휩싸인다고 합니다.","boundingBox":[154.0,302.0,483.0,302.0,483.0,330.0,154.0,330.0],"spans":[{"offset":0,"length":16}]}],"spans":[{"offset":0,"length":16}]}],"tables":null,"blocks":null,"detectedLocales":null,"keyValuePairs":null,"entities":null,"styles":[],"documents":null},"FrameIndex":180},{"Ocr":{"apiVersion":"internal-latest","modelId":"prebuilt-read-2022-04-30","stringIndexType":"textElements","content":"큰 충격에 휩싸인다고 합니다.","pages":[{"pageNumber":1,"angle":-0.0871,"width":640.0,"height":360.0,"unit":"pixel","words":[{"content":"큰","boundingBox":[156.0,304.0,173.0,303.0,172.0,331.0,156.0,330.0],"confidence":0.992,"span":{"offset":0,"length":1}},{"content":"충","boundingBox":[189.0,303.0,205.0,303.0,205.0,331.0,189.0,331.0],"confidence":0.995,"span":{"offset":2,"length":1}},{"content":"격","boundingBox":[218.0,303.0,232.0,303.0,232.0,331.0,218.0,331.0],"confidence":0.996,"span":{"offset":3,"length":1}},{"content":"에","boundingBox":[233.0,303.0,249.0,303.0,249.0,331.0,233.0,331.0],"confidence":0.997,"span":{"offset":4,"length":1}},{"content":"휩","boundingBox":[273.0,303.0,290.0,303.0,290.0,331.0,273.0,331.0],"confidence":0.974,"span":{"offset":6,"length":1}},{"content":"싸","boundingBox":[295.0,303.0,312.0,303.0,312.0,331.0,295.0,331.0],"confidence":0.896,"span":{"offset":7,"length":1}},{"content":"인","boundingBox":[324.0,303.0,341.0,303.0,341.0,331.0,325.0,331.0],"confidence":0.996,"span":{"offset":8,"length":1}},{"content":"다","boundingBox":[346.0,303.0,363.0,303.0,363.0,331.0,347.0,331.0],"confidence":0.998,"span":{"offset":9,"length":1}},{"content":"고","boundingBox":[375.0,303.0,392.0,303.0,392.0,331.0,376.0,331.0],"confidence":0.996,"span":{"offset":10,"length":1}},{"content":"합","boundingBox":[408.0,303.0,425.0,303.0,425.0,331.0,409.0,331.0],"confidence":0.996,"span":{"offset":12,"length":1}},{"content":"니","boundingBox":[427.0,303.0,443.0,303.0,444.0,330.0,427.0,331.0],"confidence":0.994,"span":{"offset":13,"length":1}},{"content":"다","boundingBox":[452.0,303.0,469.0,303.0,469.0,330.0,453.0,330.0],"confidence":0.996,"span":{"offset":14,"length":1}},{"content":".","boundingBox":[471.0,303.0,481.0,303.0,481.0,330.0,471.0,330.0],"confidence":0.994,"span":{"offset":15,"length":1}}],"selectionMarks":null,"lines":[{"content":"큰 충격에 휩싸인다고 합니다.","boundingBox":[154.0,302.0,483.0,302.0,483.0,330.0,154.0,331.0],"spans":[{"offset":0,"length":16}]}],"spans":[{"offset":0,"length":16}]}],"tables":null,"blocks":null,"detectedLocales":null,"keyValuePairs":null,"entities":null,"styles":[],"documents":null},"FrameIndex":210},{"Ocr":{"apiVersion":"internal-latest","modelId":"prebuilt-read-2022-04-30","stringIndexType":"textElements","content":"이 곳에 가니 독이 들어간 음식이","pages":[{"pageNumber":1,"angle":0.0802,"width":640.0,"height":360.0,"unit":"pixel","words":[{"content":"이","boundingBox":[142.0,304.0,155.0,304.0,154.0,329.0,141.0,329.0],"confidence":0.989,"span":{"offset":0,"length":1}},{"content":"곳","boundingBox":[178.0,304.0,193.0,304.0,193.0,330.0,177.0,329.0],"confidence":0.996,"span":{"offset":2,"length":1}},{"content":"에","boundingBox":[195.0,304.0,211.0,304.0,211.0,330.0,195.0,330.0],"confidence":0.996,"span":{"offset":3,"length":1}},{"content":"가","boundingBox":[230.0,304.0,246.0,304.0,246.0,330.0,230.0,330.0],"confidence":0.989,"span":{"offset":5,"length":1}},{"content":"니","boundingBox":[255.0,304.0,270.0,304.0,270.0,330.0,254.0,330.0],"confidence":0.981,"span":{"offset":6,"length":1}},{"content":"독","boundingBox":[293.0,304.0,307.0,304.0,307.0,330.0,293.0,330.0],"confidence":0.994,"span":{"offset":8,"length":1}},{"content":"이","boundingBox":[307.0,304.0,323.0,304.0,323.0,330.0,307.0,330.0],"confidence":0.996,"span":{"offset":9,"length":1}},{"content":"들","boundingBox":[349.0,304.0,363.0,304.0,363.0,330.0,349.0,330.0],"confidence":0.995,"span":{"offset":11,"length":1}},{"content":"어","boundingBox":[363.0,304.0,379.0,304.0,379.0,331.0,363.0,330.0],"confidence":0.996,"span":{"offset":12,"length":1}},{"content":"간","boundingBox":[395.0,304.0,410.0,303.0,410.0,331.0,395.0,331.0],"confidence":0.996,"span":{"offset":13,"length":1}},{"content":"음","boundingBox":[430.0,303.0,445.0,303.0,446.0,331.0,430.0,331.0],"confidence":0.995,"span":{"offset":15,"length":1}},{"content":"식","boundingBox":[451.0,303.0,466.0,303.0,467.0,332.0,451.0,331.0],"confidence":0.996,"span":{"offset":16,"length":1}},{"content":"이","boundingBox":[468.0,303.0,484.0,303.0,484.0,332.0,468.0,332.0],"confidence":0.994,"span":{"offset":17,"length":1}}],"selectionMarks":null,"lines":[{"content":"이 곳에 가니 독이 들어간 음식이","boundingBox":[141.0,302.0,498.0,302.0,498.0,331.0,141.0,330.0],"spans":[{"offset":0,"length":18}]}],"spans":[{"offset":0,"length":18}]}],"tables":null,"blocks":null,"detectedLocales":null,"keyValuePairs":null,"entities":null,"styles":[],"documents":null},"FrameIndex":240},{"Ocr":{"apiVersion":"internal-latest","modelId":"prebuilt-read-2022-04-30","stringIndexType":"textElements","content":"이 곳에 가니 독이 들어간 음식이","pages":[{"pageNumber":1,"angle":-0.0805,"width":640.0,"height":360.0,"unit":"pixel","words":[{"content":"이","boundingBox":[142.0,304.0,152.0,304.0,152.0,330.0,142.0,330.0],"confidence":0.995,"span":{"offset":0,"length":1}},{"content":"곳","boundingBox":[176.0,303.0,193.0,303.0,192.0,331.0,176.0,331.0],"confidence":0.991,"span":{"offset":2,"length":1}},{"content":"에","boundingBox":[195.0,303.0,211.0,303.0,211.0,331.0,194.0,331.0],"confidence":0.996,"span":{"offset":3,"length":1}},{"content":"가","boundingBox":[231.0,303.0,248.0,303.0,248.0,331.0,231.0,331.0],"confidence":0.993,"span":{"offset":5,"length":1}},{"content":"니","boundingBox":[253.0,303.0,270.0,303.0,270.0,331.0,253.0,331.0],"confidence":0.969,"span":{"offset":6,"length":1}},{"content":"독","boundingBox":[290.0,303.0,307.0,303.0,306.0,331.0,290.0,331.0],"confidence":0.994,"span":{"offset":8,"length":1}},{"content":"이","boundingBox":[309.0,303.0,325.0,303.0,325.0,331.0,308.0,331.0],"confidence":0.996,"span":{"offset":9,"length":1}},{"content":"들","boundingBox":[349.0,303.0,363.0,303.0,363.0,331.0,349.0,331.0],"confidence":0.996,"span":{"offset":11,"length":1}},{"content":"어","boundingBox":[364.0,303.0,380.0,303.0,380.0,331.0,364.0,331.0],"confidence":0.996,"span":{"offset":12,"length":1}},{"content":"간","boundingBox":[393.0,303.0,410.0,303.0,410.0,331.0,393.0,331.0],"confidence":0.996,"span":{"offset":13,"length":1}},{"content":"음","boundingBox":[430.0,303.0,446.0,303.0,446.0,331.0,430.0,331.0],"confidence":0.995,"span":{"offset":15,"length":1}},{"content":"식","boundingBox":[452.0,303.0,468.0,303.0,468.0,331.0,452.0,331.0],"confidence":0.996,"span":{"offset":16,"length":1}},{"content":"이","boundingBox":[470.0,303.0,487.0,303.0,487.0,331.0,470.0,331.0],"confidence":0.995,"span":{"offset":17,"length":1}}],"selectionMarks":null,"lines":[{"content":"이 곳에 가니 독이 들어간 음식이","boundingBox":[141.0,302.0,497.0,302.0,497.0,330.0,141.0,331.0],"spans":[{"offset":0,"length":18}]}],"spans":[{"offset":0,"length":18}]}],"tables":null,"blocks":null,"detectedLocales":null,"keyValuePairs":null,"entities":null,"styles":[],"documents":null},"FrameIndex":270},{"Ocr":{"apiVersion":"internal-latest","modelId":"prebuilt-read-2022-04-30","stringIndexType":"textElements","content":"줄지어 나왔고","pages":[{"pageNumber":1,"angle":0.1813,"width":640.0,"height":360.0,"unit":"pixel","words":[{"content":"줄","boundingBox":[246.0,303.0,262.0,303.0,262.0,331.0,246.0,331.0],"confidence":0.988,"span":{"offset":0,"length":1}},{"content":"지","boundingBox":[267.0,303.0,284.0,303.0,284.0,331.0,268.0,331.0],"confidence":0.996,"span":{"offset":1,"length":1}},{"content":"어","boundingBox":[289.0,303.0,305.0,303.0,305.0,331.0,289.0,331.0],"confidence":0.994,"span":{"offset":2,"length":1}},{"content":"나","boundingBox":[318.0,303.0,334.0,303.0,334.0,331.0,318.0,331.0],"confidence":0.989,"span":{"offset":4,"length":1}},{"content":"왔","boundingBox":[350.0,303.0,366.0,303.0,366.0,330.0,350.0,331.0],"confidence":0.994,"span":{"offset":5,"length":1}},{"content":"고","boundingBox":[379.0,303.0,395.0,303.0,395.0,330.0,379.0,330.0],"confidence":0.998,"span":{"offset":6,"length":1}}],"selectionMarks":null,"lines":[{"content":"줄지어 나왔고","boundingBox":[241.0,302.0,399.0,303.0,398.0,330.0,241.0,330.0],"spans":[{"offset":0,"length":7}]}],"spans":[{"offset":0,"length":7}]}],"tables":null,"blocks":null,"detectedLocales":null,"keyValuePairs":null,"entities":null,"styles":[],"documents":null},"FrameIndex":300},{"Ocr":{"apiVersion":"internal-latest","modelId":"prebuilt-read-2022-04-30","stringIndexType":"textElements","content":"그걸 한국인들이 웃으면서","pages":[{"pageNumber":1,"angle":-0.1002,"width":640.0,"height":360.0,"unit":"pixel","words":[{"content":"그","boundingBox":[179.0,303.0,195.0,303.0,195.0,331.0,179.0,331.0],"confidence":0.997,"span":{"offset":0,"length":1}},{"content":"걸","boundingBox":[208.0,303.0,225.0,303.0,225.0,331.0,208.0,331.0],"confidence":0.987,"span":{"offset":1,"length":1}},{"content":"한","boundingBox":[234.0,303.0,251.0,303.0,251.0,332.0,234.0,331.0],"confidence":0.997,"span":{"offset":3,"length":1}},{"content":"국","boundingBox":[264.0,303.0,281.0,303.0,281.0,332.0,264.0,332.0],"confidence":0.996,"span":{"offset":4,"length":1}},{"content":"인","boundingBox":[286.0,303.0,303.0,303.0,303.0,332.0,286.0,332.0],"confidence":0.996,"span":{"offset":5,"length":1}},{"content":"들","boundingBox":[316.0,303.0,330.0,303.0,330.0,331.0,316.0,332.0],"confidence":0.996,"span":{"offset":6,"length":1}},{"content":"이","boundingBox":[331.0,303.0,347.0,303.0,347.0,331.0,331.0,331.0],"confidence":0.996,"span":{"offset":7,"length":1}},{"content":"웃","boundingBox":[371.0,303.0,388.0,303.0,388.0,331.0,371.0,331.0],"confidence":0.995,"span":{"offset":9,"length":1}},{"content":"으","boundingBox":[394.0,303.0,410.0,303.0,410.0,331.0,394.0,331.0],"confidence":0.996,"span":{"offset":10,"length":1}},{"content":"면","boundingBox":[419.0,303.0,436.0,303.0,436.0,331.0,419.0,331.0],"confidence":0.996,"span":{"offset":11,"length":1}},{"content":"서","boundingBox":[442.0,303.0,458.0,303.0,458.0,330.0,442.0,331.0],"confidence":0.996,"span":{"offset":12,"length":1}}],"selectionMarks":null,"lines":[{"content":"그걸 한국인들이 웃으면서","boundingBox":[177.0,302.0,463.0,302.0,463.0,330.0,177.0,331.0],"spans":[{"offset":0,"length":13}]}],"spans":[{"offset":0,"length":13}]}],"tables":null,"blocks":null,"detectedLocales":null,"keyValuePairs":null,"entities":null,"styles":[],"documents":null},"FrameIndex":330},{"Ocr":{"apiVersion":"internal-latest","modelId":"prebuilt-read-2022-04-30","stringIndexType":"textElements","content":"그걸 한국인들이 웃으면
-
성현 최 0 Reputation points
2023-08-22T04:54:59.85+00:00 @romungi-MSFT Please check my question above, thank you.
-
romungi-MSFT 42,311 Reputation points • Microsoft Employee
2023-08-23T08:31:21.4+00:00 @성현 최 You will have to validate the bounding box location and pick up the content from
FrameIndex
values. Since it is not a direct feature to provide subtitles from existing videos, you will have to rely on locating them from the JSON response.
Sign in to comment