cortictechnology / cep

CEP is a software platform designed for users that want to learn or rapidly prototype using standard A.I. components.
MIT License
167 stars 21 forks source link

OKD-Vision #28

Closed ArshadIram closed 2 years ago

ArshadIram commented 2 years ago

Hello,

First of all many thanks to you for replying all the previous quires. I am successfully able to connect with your programming interface and I really like it. However,m when I am trying to connect with OKD-camera and I not able to connect it successfully. I am trying to initial the vision with but it seems like option is not loading properly.

20220316_005921

Can you please help me in this regard?

Many thanks to you!

michaelhwn commented 2 years ago

Hi @ArshadIram, have you tried to close the dropdown menu and open it again? Sometimes it takes a bit of time for the device to be detected, closing and re-opening the dropdown menu can refresh and grab the latest device list.

ArshadIram commented 2 years ago

I tired it many times but no luck. 20220316_112817

michaelhwn commented 2 years ago

Oh, I just realize you are using the wrong initialize block. The block in your screenshot is under “Vision”->”Raspberry Pi” and it is for webcam/csi-camera. For OAK-D, you should use the initialize block under the “Vision”->”OAK-D” category.

ArshadIram commented 2 years ago

I tired what you said but still not successful to initialise okd. 20220316_233752

michaelhwn commented 2 years ago

You need to place any "initialize block" into a "setup block". Otherwise, it won't be enabled. As for other blocks that are not "initialize" blocks, they should be placed in a "main block". You can refer to the examples in the CEP project. The examples have an extension of ".cait", you can find them in <root_of_cep>/examples/cait

michaelhwn commented 2 years ago

Closing due to inactivity.