Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.

Unable to read tiff file in text-detection-demo

saura
Beginner
509 Views

Hello there,

I was trying out the text_detection_demo available in the OpenVino toolkit. I was able to read all the video files. I was even successful in detecting and reading texts through camera with a little modification in the source code, but in case of image files i was unable to read the tiff image file. Can anyone tell me what needs to be done to be able to read the tiff files?Do i need to use libtiff header files and do some modifications or is there any other method? Any suggestions or help would be greatly appreciated. 

Thank You

0 Kudos
2 Replies
Ramos__Rodrigo_Belis
509 Views

Check if the opencv that was built in openvino works with TIFF files.
You can check on this file: /opt/intel/openvino_2019.3.376/opencv/build_params.txt there is a line with: 
-D WITH_TIFF=OFF \

0 Kudos
Max_L_Intel
Moderator
509 Views

Hello Saura.

As an example, you could check how tiff files reading is implemented in 3D Segmentation Python Demo - https://github.com/opencv/open_model_zoo/blob/master/demos/python_demos/3d_segmentation_demo/3d_segmentation_demo.py

Readme - https://docs.openvinotoolkit.org/2019_R1/_inference_engine_ie_bridges_python_sample_3d_segmentation_demo_README.html

0 Kudos
Reply