Skip to main content

Fun Python Scripts For The ACEBOTT Smart Car with Camera Modulue

 

 

I thought I'd try and extend the functionality of the ACEBOTT Robot car, by doing some AI processing of the video feed on my windows Laptop. I created two python scripts, one script scans for and charges at red or a user specified color. The other follows a Cat or other object supported by MobileNetSSD (aeroplane, bicycle, bird, boat, bottle, bus, car, cat, chair, cow, diningtable, dog, horse, motorbike, person, pottedplant, sheep, sofa, train, tvmonitor). The scripts work fairly well, but their are some caveats, the ESP32 web server likes to crash and the frame rate tends to drop when the car is moving, decreasing the reliability, so objects aren't detected until they are fairly close and it can lose track of an object fairly easily. So there is a reason other than money they require you to buy the AI module for AI features in the official APP. That said me and my daughter had fun with these scripts. I'm planning on adding a video the Car in action when I have the time, but for now here are the scripts.

Comments

Popular posts from this blog

Force Phone View: Firefox Extension

If you’ve ever tried to browse the web in split-screen mode on a small laptop, you know the struggle. Most websites stubbornly cling to their "grid" or desktop layout, leaving you with tiny text and horizontally overflowing content. Force Phone View is a Firefox extension designed to fix exactly that. By tricking websites into thinking you're on a mobile device, it forces them to deliver a clean, column-based mobile layout that fits perfectly into narrow windows. Key Features Mobile Spoofing : Automatically sends an Android User-Agent to ensure the site delivers its mobile-optimized version. Width Constraint : Constrains the page viewport to 720 pixels , a width that reliably triggers column views instead of desktop grids. One-Tap Control : Toggle the effect on and off instantly using a simple button in the Firefox extension popup. Enhanced Readability : Perfect for researchers, students, or anyone multitasking in side...

FireFox User-Agent automatic switcher

This extension allows the user to spoof a user-agent on user selected pages. Simply enter the URL you would like to spoof the User-Agent on, select the desired user-agent and click the plus button to add the rule. Make sure the toggle at the top is set to enabled. If you are using this on a mobile browser and the site you are visiting still detects your browser as mobile you will have to enable the "privacy.resistFingerprinting" property in the mobile advanced configuration. Click on the extension icon from Firefox extensions and at the bottom click where it says "Copy Mobile Config URL" paste this into the Firefox address bar and then search for "privacy.resistFingerprinting"      With the user-agent spoofed as a desktop browser and "privacy.resistFingerprinting" set to true, mobile sites such as Reddit.com won't try and force you to install the mobile app to visit their page. On the desktop version of this extension there is a toggle to cha...

Arduino FM Radio Transmitter

This following is re-post of an article from my old blog from 2008: This is an FM radio transmitter I made using an arduino and a NS73M FM Transmitter. I got the idea from an article on hack a day, if you’re interested in building your own you should check out Mike Yancey's page he built the one that made it on hackaday.com and he does a very thorough job of documenting how all the components hook together. I was impressed by the level of finishing he was able to achieve on the housing; it looked like a commercial product. I wanted to see if I could achieve a similar result, it’s amazing what you can do with some simple hand tools. If your patient with the file, you can make perfectly square holes in aluminum.   On my implementation I omitted the de-bouncing circuit that he has connected to his rotary encoder, and I used a two-line display. Since I omitted the de-bouncing circuit, I couldn’t use the original rotary encoder library since that code uses a hardware interrupt a...