Re: [Dev] Image persisting and retrieval mechanism for WSO2 IoT Server

2018-01-17 Thread Nuwan Jayawardene
Hi Anusha, That's great to hear! I was also focusing on per image storage, retrieval and if possible; processing. Could the same implementation be applied directly to images without a video stream? If that's the case it would be awesome! Thanks and regards. On Wed, Jan 17, 2018 at 9:40 AM,

Re: [Dev] Image persisting and retrieval mechanism for WSO2 IoT Server

2018-01-16 Thread Anusha Jayasundara
Hi Nuwan. Even though I did video processing, In the end, the processing was done by per image. In my case, I resized the images into a 480p or 720p(most of the time videos was 1080p) and after the processing was done, saved them into the main storage in binary format. So you also can check the

Re: [Dev] Image persisting and retrieval mechanism for WSO2 IoT Server

2018-01-16 Thread Nuwan Jayawardene
Hi All, Thanks for the feedback. Based on what everyone has said, I thought it was best to go ahead with using the *BinaryStream*. Will update this thread further along the way! :) On Tue, Jan 16, 2018 at 2:07 PM, Madawa Soysa wrote: > > > On Tue, Jan 16, 2018 at 1:10 PM,

Re: [Dev] Image persisting and retrieval mechanism for WSO2 IoT Server

2018-01-16 Thread Ramindu De Silva
Hi all, [+]Anusha Anusha has implemented a video processing solution. But it is not integrated to the SP. Anusha, can you please explain how you stored and processed the data in your solution? Maybe IoT team can get an idea. Best Regards, Ramindu. On Tue, Jan 16, 2018 at 4:03 AM, Nuwan

Re: [Dev] Image persisting and retrieval mechanism for WSO2 IoT Server

2018-01-16 Thread Waruna Jayaweera
Hi Nuwan, AFAIU if the requirement is to store the images, another approach would be to store them directly in file system something similar we did for file transfer feature. You can have some file sync mechanism or FTP server to support clustering. Thanks, Waruna On Tue, Jan 16, 2018 at 1:10

Re: [Dev] Image persisting and retrieval mechanism for WSO2 IoT Server

2018-01-16 Thread Madawa Soysa
On Tue, Jan 16, 2018 at 1:10 PM, Ruwan Yatawara wrote: > As to my knowledge, image analysis is not supported, and won't be > supported in the near future. > > @Mohan, @Ramindu, please correct me if I am wrong. > In that case, it is better to go with the BinaryStream approach.

Re: [Dev] Image persisting and retrieval mechanism for WSO2 IoT Server

2018-01-15 Thread Nuwan Jayawardene
Hi Madawa, Have you evaluated this approach? What are the advantages and drawbacks in > terms of storage and retrieval of images by following this approach? I've yet to look more into this option. I was actually hoping for some feedback on whether or not I should pursue this or stick with the

Re: [Dev] Image persisting and retrieval mechanism for WSO2 IoT Server

2018-01-15 Thread Ruwan Yatawara
As to my knowledge, image analysis is not supported, and won't be supported in the near future. @Mohan, @Ramindu, please correct me if I am wrong. Thanks and Regards, Ruwan Yatawara Technical Lead, WSO2 Inc. email : ruw...@wso2.com mobile : +94 77 9110413 http://ruwansrants.blogspot.com/

Re: [Dev] Image persisting and retrieval mechanism for WSO2 IoT Server

2018-01-15 Thread Geeth Munasinghe
On Tue, Jan 16, 2018 at 10:52 AM, Nuwan Jayawardene wrote: > Hi all, > > I'm currently working on a project to add image storing and retrieval > capabilities to the WSO2 IoT Server. > > To achieve this I have implemented the following; > 1) Added a separate DAO Table with a

Re: [Dev] Image persisting and retrieval mechanism for WSO2 IoT Server

2018-01-15 Thread Madawa Soysa
Hi Nuwan, One other approach suggested to me was to use a *Siddhi Stream for both > storage and retrieval* purposes. This would further allow for analytics > to be performed on the data which not be very much possible with the > earlier mentioned approaches. Have you evaluated this approach?

Re: [Dev] Image persisting and retrieval mechanism for WSO2 IoT Server

2018-01-15 Thread Rasika Perera
​Hi All, One other approach suggested to me was to use a *Siddhi Stream for both > storage and retrieval* purposes. This would further allow for analytics > to be performed on the data which not be very much possible with the > earlier mentioned approaches. ​I am +1 for this. IMO, treating the

Re: [Dev] Image persisting and retrieval mechanism for WSO2 IoT Server

2018-01-15 Thread Kamidu Punchihewa
Hi Nuwan, am +1 for the second option of retrieving the image as a binary stream too. There are approaches which can be used and at the moment in use also to represent an image using the binary information. IMO your concern regarding this option will not be an issue. Thanks and Best Regards,

Re: [Dev] Image persisting and retrieval mechanism for WSO2 IoT Server

2018-01-15 Thread Ruwan Yatawara
I am +1 for the second option of retrieving the image as a binary stream. Given the fact that images can be of varying sizes (talking about high-resolution ones, here), and Sidhdhi not having any image processing capabilities as of this moment, I do not see a clear advantage in using a SIdhdhi