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.

How to check Input Data

LEE__JS1
Beginner
593 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
593 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

0 Kudos
LEE__JS1
Beginner
593 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

0 Kudos
Reply