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

How to check Input Data

LEE__JS1
Beginner
139 Views

Hello,

 

I want to know how to check the input data, especially image data.

 

I want to know whether the input image data is divided by 255 or not.

 

Is there any good method to deal with this ?

 

JS

0 Kudos
2 Replies
AbhishekD_Intel
Moderator
139 Views

Hi,

You can use different methods available while handling numpy arrays, because after reading images from OpenCV you will get that image as numpy array. Just use different methods like .size(), .shape(), etc to get the structure of data present and try to print a few data to get an overall idea.

-Abhishek

LEE__JS1
Beginner
139 Views

Dear Deshmukh, Abhishek (Intel) ,

 

Thank you for your help. May I ask you a little more ?

 

How can I check the numpy array ? (For example, in the [security_barrier_camera_demo] ?)

 

JS

Reply