- Is the image acquired and processed just once for static display? Or is it more like repeatedly acquired and processed for dynamics display?
- What kind of processing or analysis do you perform on the image?
Can we upload image to Thingspeak?
13 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Mei Sing Wang
el 30 de Mzo. de 2020
Comentada: Christopher Stapels
el 3 de Ag. de 2022
Current situation:
I have saved my processed image in raspberry pi. I would like to upload the image to Thingspeak. However, I came across some posts saying that we cant upload image to Thingspeak. I wish to view my image at Thingspeak and also at Thingview(mobile app).
Questions:
1) Can we upload image to Thingspeak?
2) Or can i upload the image to Google Drive then link it back to Thingspeak ?
3) If no, any way to do it?
This is the example that show the image, but I not sure how it does.
3 comentarios
Rene Chan
el 3 de Abr. de 2020
Thanks for sharing the details!
One way to help you decide between the two next steps you are contemplating is to think about edge (on device) vs. cloud (ThingSpeak) processing.
Edge processing allows you to perform lighter duty computation on the device and then write the result to the cloud. It is easily achievable with you current implementation on the Pi and write the result to a ThingSpeak channel for basic visualization. It is a good starting point. What you will be missing is the additional analysis/processing of the images that is either impractical or impossible to do on the Pi.
Here's where the cloud processing like ThingSpeak with MATLAB comes in. For that to work, the raw data (images in this case) must be made available to ThingSpeak. ThingSpeak currently does not directly support collecting image as part of data write. But you can do what Christopher suggested by sending it to a third-party storage. You can then use MATLAB Visualization in ThingSpeak to perform computation and display the result on a channel.
Respuesta aceptada
Christopher Stapels
el 31 de Mzo. de 2020
Editada: Christopher Stapels
el 29 de Dic. de 2020
At present, it is not easy to upload images to ThingSpeak. You could break it up into multiple fields and feeds, but it would require a lot of code and probably small images.
I suspect you can use google drive, though I haven't yet. The plant channel you linked uses a static image in the MathWorks documentation.
I used dropbox for the image on this channel. Here is the MATLAB visualization code. If you are using Dropbox, the key part is the dl=1 at the end of the URL.
myFig=figure( 'Position',[50 10 100 1000]);
bob=imread('https://www.dropbox.com/s/xxxxxxxxxxx/LoraBox_in_Flowers.jpg?dl=1');
myFig=imshow(bob);
Más respuestas (1)
Vinod
el 31 de Mzo. de 2020
Editada: Vinod
el 1 de Abr. de 2020
If you are using a Raspberry Pi, you can set up the IP camera functionality on it and then use the IP camera in a MATLAB visualization on ThingSpeak.
For example, try this code that reads from a public IP camera in a MATLAB visualization:
imshow(webread('http://24.73.89.162/axis-cgi/jpg/image.cgi',weboptions('ContentType','image')),'border','tight');
title(sprintf('Last updated at: %s',datetime('now')))
0 comentarios
Comunidades de usuarios
Más respuestas en ThingSpeak Community
Ver también
Categorías
Más información sobre ThingSpeak en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!