Hello! Thank you very much. I did not have any plans for that, but if there is a desire for it, it is not impossible that I will in the future. Right now though, I am focused on delivering all the videos I have planned for the van surveillance system that I am building.
Sounds like a great project! For machine learning you would like much quality data, which make a video stream preferable. I would suggest that you do the sampling of the dataset of images on the server. That way you can control the amount of images saved in a better and easier to manage way. The video stream is in reality a stream of many images, so just save an image from the stream with as many intervals you'd like. That way you can change the amount of images saved each day, without having to change and upload a new sketch to your ESP-32 module.
@@nomadicgeek_369 actually my device is battery operated and using SIMcard module instead of wifi so i can use at any remote farm. Now my device is working my device send images to the server my server process the image and store the pest count and bounding box image in database. at farmer's side I have Android app in which farmer can monitor pest status i also implemented push notification so when pest count is high and over the economic threshold he will get notification about high pest infestation at farm also used temperature, humidity and light intensity sensor for growing degree days calculation so my device can predict which pest development stage is occurring like it can predict larval stage is ongoing in 12 days pupal stage will come so farmer can track every movement of pest to act before big loss
Great tutorials! I wonder if the websocket server and client code itself could be hosted on a esp32 running in AP-Mode so that a client can access the cam streams and sensory data?
Hey, thanks for your comment and I'm glad you like the tutorials! It's an interesting idea to host the WebSocket server and client code on an ESP32 running in AP-Mode. While it might be possible to achieve some functionality, it's essential to remember that the ESP32-CAM has limited processing power and resources compared to a more powerful server. In this context, focusing solely on the camera stream and experimenting with multithreading could be a fascinating learning experience. However, it is essential to manage your expectations regarding the project's overall performance and capabilities. As such, I would advise against relying on this setup for anything more than experimentation. If you do decide to test this out, I'd love to hear about your results and any insights you gain from the experience!
@@Clemens2022 That sounds like a smart choice. I'd appreciate it if you could keep me updated on your project's progress and the choices you make with the Raspberry Pi setup since I'm planning to do something similar in the future. Wishing you the best of luck with your project! :)
Thank you very much for your comment! I can guide you with your solution if i knew your purpose of sending images instead of video. You can always save particular images in intervals if you'd like, from the video stream. That may solve what you are trying to do?
Hello and thank you for watching! The system should function properly even without the gas sensors. In case you encounter any issues, you can simply remove all the sensors except the one/ones that are currently connected from the sensors.json configuration file.
I'm sorry but I'm not sure what you mean. If you want to open a particular folder in vscode from your terminal, you can simply write code /path/to/your/project or open vscode and then select "open project" in the top menu.
Hello! Thanks for your videos, its amazing! I've got a trouble, please help me. On the server side (server.js), when i received message (from ESP), type of data always "object", so i can't parse data to image and string, as you can do it in video. From arduino-ide i sent message as string (client.send(output)), but received as uint8array. Whats wrong, can you explain? :)
Hi there! Thank you for reaching out and for your kind words about my videos. I'm glad to hear that you find them amazing. Regarding your issue, have you confirmed that the message being sent from the ESP32 is indeed a string? You mentioned that from the Arduino IDE, the message is being sent as a string, but when received on the server side, it's coming in as a Uint8Array. Is this observed in the serial monitor? I need to know this to understand if it's the ESP32 code or the javascript code that the issue is. Additionally, have you checked the upload settings of your code on the ESP32 to ensure that the code is being uploaded with the right settings? If not, this could cause the ESP32 to send the message header wrongly. If the above steps do not resolve the issue, I will look into it further and see if there are any other possible solutions. I'll get back to you.
@@nomadicgeek_369 Thanks for your reply! I had a solution for my problem - the Node.js WebSocket library was version 8.12.0. When i downgraded to the version "ws": "^7.5.7", its working like a charm. Seems like in newer version of 'ws', parsing data is more complicated than in previous. Anyways, thanks in advance!
@@rezvov8581 Thank you very much for sharing your solution with the community! It's always helpful to know different approaches and insights that may benefit others. Your experience could be valuable to those encountering the same issue.
Thanks for your totorial brother
You're very welcome! I'm glad that you found the tutorial helpful. If you have any questions or suggestions for future content, please let me know.
Great tutorials! Do you think about tutorials for ESP32 with ESP-IDF?
Hello! Thank you very much. I did not have any plans for that, but if there is a desire for it, it is not impossible that I will in the future. Right now though, I am focused on delivering all the videos I have planned for the van surveillance system that I am building.
Hey. Awesome video! How do you get the node ip?
i want to monitor pests in pest trap send 4 images per day and use machine learning to identify pest and count pest to predict pest infestation
Sounds like a great project! For machine learning you would like much quality data, which make a video stream preferable. I would suggest that you do the sampling of the dataset of images on the server. That way you can control the amount of images saved in a better and easier to manage way. The video stream is in reality a stream of many images, so just save an image from the stream with as many intervals you'd like. That way you can change the amount of images saved each day, without having to change and upload a new sketch to your ESP-32 module.
@@nomadicgeek_369 actually my device is battery operated and using SIMcard module instead of wifi so i can use at any remote farm. Now my device is working my device send images to the server my server process the image and store the pest count and bounding box image in database. at farmer's side I have Android app in which farmer can monitor pest status i also implemented push notification so when pest count is high and over the economic threshold he will get notification about high pest infestation at farm also used temperature, humidity and light intensity sensor for growing degree days calculation so my device can predict which pest
development stage is occurring like it can predict larval stage is ongoing in 12 days pupal stage will come so farmer can track every movement of pest to act before big loss
Great tutorials!
I wonder if the websocket server and client code itself could be hosted on a esp32 running in AP-Mode so that a client can access the cam streams and sensory data?
Hey, thanks for your comment and I'm glad you like the tutorials!
It's an interesting idea to host the WebSocket server and client code on an ESP32 running in AP-Mode. While it might be possible to achieve some functionality, it's essential to remember that the ESP32-CAM has limited processing power and resources compared to a more powerful server.
In this context, focusing solely on the camera stream and experimenting with multithreading could be a fascinating learning experience. However, it is essential to manage your expectations regarding the project's overall performance and capabilities. As such, I would advise against relying on this setup for anything more than experimentation.
If you do decide to test this out, I'd love to hear about your results and any insights you gain from the experience!
@@nomadicgeek_369 Hey there, i might go for the access point and node js server on a raspberry pi or similar to use a little bit more performance.
@@Clemens2022 That sounds like a smart choice. I'd appreciate it if you could keep me updated on your project's progress and the choices you make with the Raspberry Pi setup since I'm planning to do something similar in the future. Wishing you the best of luck with your project! :)
Pəv 4:00 slilmiece iemiga
At 4:00 a.m. the patient fell asleep?
great tutorial sir how i can send only image not video
Thank you very much for your comment! I can guide you with your solution if i knew your purpose of sending images instead of video. You can always save particular images in intervals if you'd like, from the video stream. That may solve what you are trying to do?
will this work even if i dont have the two gas sensors just esp32 cam? my webpage only diaplays Cam#1 text but the video doesnt appear
Hello and thank you for watching! The system should function properly even without the gas sensors. In case you encounter any issues, you can simply remove all the sensors except the one/ones that are currently connected from the sensors.json configuration file.
how to start the website code in visual studio ??
I'm sorry but I'm not sure what you mean. If you want to open a particular folder in vscode from your terminal, you can simply write code /path/to/your/project or open vscode and then select "open project" in the top menu.
Hello! Thanks for your videos, its amazing! I've got a trouble, please help me. On the server side (server.js), when i received message (from ESP), type of data always "object", so i can't parse data to image and string, as you can do it in video. From arduino-ide i sent message as string (client.send(output)), but received as uint8array. Whats wrong, can you explain? :)
Hi there! Thank you for reaching out and for your kind words about my videos. I'm glad to hear that you find them amazing.
Regarding your issue, have you confirmed that the message being sent from the ESP32 is indeed a string? You mentioned that from the Arduino IDE, the message is being sent as a string, but when received on the server side, it's coming in as a Uint8Array. Is this observed in the serial monitor?
I need to know this to understand if it's the ESP32 code or the javascript code that the issue is.
Additionally, have you checked the upload settings of your code on the ESP32 to ensure that the code is being uploaded with the right settings? If not, this could cause the ESP32 to send the message header wrongly.
If the above steps do not resolve the issue, I will look into it further and see if there are any other possible solutions. I'll get back to you.
@@nomadicgeek_369 Thanks for your reply! I had a solution for my problem - the Node.js WebSocket library was version 8.12.0. When i downgraded to the version "ws": "^7.5.7", its working like a charm. Seems like in newer version of 'ws', parsing data is more complicated than in previous. Anyways, thanks in advance!
@@rezvov8581 Thank you very much for sharing your solution with the community! It's always helpful to know different approaches and insights that may benefit others. Your experience could be valuable to those encountering the same issue.