AI with Arduino and Python
I have a project with Arduino, its main idea is a fire extinguishing system, It could to use a camera to aim to the fire when its detected. There is a reference to how integrate AI with Python to analyze the camera image to detect the fire?
7 Replies
You might be better off with a computer of some kind for this idea, using something like OpenCV.
You could implement a microcontroller as part of the project, but I think a computer might be better suited for the camera / image recognition stuff.
with python:
you can use an ESP32/WiFi module with arduino to connect it to wifi, get the IP address and use
requests
in python to do the same
@Franscis123$# you can DM me for help, I've made a similar project earlier which can help youI really beginner with this, what you mean with connect it with from Python?
check your DM @Franscis123$# I can give you step by step guide on how to do so
Why not just provide the step by step guide here, in the thread?
Then, the whole server can benefit from it.
$$ 🤷♂️
ok, @Franscis123$# @Maverick (idk why i tagged maverick)
Here's the plan:
you cannot run a full fledged AI on a tiny pc like arduino. To run a full fledged AI, you need a working pc/laptop that can atleast run the AI (performance of pc/laptop doesnt really matter unless you care about speed)
so: What you need is an internet connection, a pc, an arduino with WiFi module and an internet connection
Note: Here, WiFi is only needed for communication rather that internet. So what you can(not must) do it like: take a smartphone, enable 2.4G mobile hotspot w/o internet OR wifi enabled. make sure it is 2.4G and not 5G
now, in python, with
requests
, and time
you can create a local webserver communication setup
btw what specific domain of AI are you working with, Data Science, ComputerVision or NaturalLanguageProcessing?