Search found 15 matches

by xgarbxgarb
Tue Feb 18, 2020 11:53 am
Forum: ESP-WHO
Topic: Measuring the distance to a detected face
Replies: 0
Views: 133

Measuring the distance to a detected face

I'm trying to calculate the distance to a detected face using the measurements from the net_boxes array. I found this calculation from https://photo.stackexchange.com/questions/12434/how-do-i-calculate-the-distance-of-an-object-in-a-photo https://i.stack.imgur.com/ajKph.png Using the measurements: F...
by xgarbxgarb
Fri Jan 31, 2020 5:53 pm
Forum: ESP32 Arduino
Topic: Closing a Bluetooth connection that hasn't been used.
Replies: 2
Views: 314

Re: Closing a Bluetooth connection that hasn't been used.

Thanks for the information. I've finished the project and put the code here: https://github.com/robotzero1/esp32-bluewifi if anyone is interested
by xgarbxgarb
Fri Jan 31, 2020 5:48 pm
Forum: ESP-WHO
Topic: ESP-EYE recognization without web streaming!!!
Replies: 1
Views: 524

Re: ESP-EYE recognization without web streaming!!!

I have a tutorial here: https://robotzero.one/esp32-face-door-entry/ that does face recognition without a web browser being connected. I'm not sure this one works with the current ESP32 hardware library for Arduino. Probably this part needs updating: mtmn_config_t init_config() {.... You might find ...
by xgarbxgarb
Mon Jan 20, 2020 6:15 pm
Forum: ESP-WHO
Topic: Cmake not working with ESP-WHO project?
Replies: 2
Views: 441

Re: Cmake not working with ESP-WHO project?

Not sure if it's the same problem but I got the camera_web_server example to build using the following two settings in menuconfig

Partition Table > Partition Table (Single factory app, no OTA)
Partition Table > (0x10000) Offset of partition table
by xgarbxgarb
Tue Dec 24, 2019 3:29 pm
Forum: ESP32 Arduino
Topic: Closing a Bluetooth connection that hasn't been used.
Replies: 2
Views: 314

Closing a Bluetooth connection that hasn't been used.

I'm using serial Bluetooth so a user can set Wi-Fi details and read the IP address from a phone. I want to kill the Bluetooth connection when either: a) The details have been entered correctly (via Bluetooth) b) The device restarts and the user has viewed the IP address on their phone (via Bluetooth...
by xgarbxgarb
Sun Dec 22, 2019 7:29 pm
Forum: ESP32 Arduino
Topic: SerialBT.println failing when callback contains delay() command
Replies: 3
Views: 589

Re: SerialBT.println failing when callback contains delay() command

Thanks for the tip. I've done this which seems to work... #include <Arduino.h> #include <BluetoothSerial.h> BluetoothSerial SerialBT; const char *bluetooth_name = "robot01"; bool bluetooth_disconnect = false; void callback(esp_spp_cb_event_t event, esp_spp_cb_param_t *param); void setup() { Serial.b...
by xgarbxgarb
Sun Dec 22, 2019 5:06 pm
Forum: ESP32 Arduino
Topic: ESP32Cam and Servo Control
Replies: 13
Views: 4114

Re: ESP32Cam and Servo Control

Hi Mad scientist, I am trying to do like you did and have the servo and cam both work at the same time. Can you explain how you got around sending servo and the cam over wireless at the same time? Thank you very much Here's how I did a pan and tilt platform with the ESP32-CAM - https://robotzero.on...
by xgarbxgarb
Sun Dec 22, 2019 4:57 pm
Forum: ESP-WHO
Topic: Using Websockets + video stream?
Replies: 1
Views: 1228

Re: Using Websockets + video stream?

Might be a bit late in the day for this but I used websockets for two-way communication here: https://robotzero.one/esp-who-recognition-with-names/
by xgarbxgarb
Wed Nov 13, 2019 10:54 am
Forum: ESP32 Arduino
Topic: SerialBT.println failing when callback contains delay() command
Replies: 3
Views: 589

Re: SerialBT.println failing when callback contains delay() command

Still having a problem with this. I can get it to either show the message over Bluetooth or disconnect but not both. I've tried various combinations of BT commands. New code below. Using Platformio this time. #include <Arduino.h> #include <BluetoothSerial.h> const char *bluetooth_name = "projectx2";...
by xgarbxgarb
Fri Oct 11, 2019 6:23 pm
Forum: ESP32 Arduino
Topic: SerialBT.println failing when callback contains delay() command
Replies: 3
Views: 589

SerialBT.println failing when callback contains delay() command

In the code below if I uncomment either the delay() or restart() lines I don't receive the 'Restarting...' message on my phone. I can understand why just restarting with a delay might kill the serial Bluetooth message before it's sent but why would just a delay command affect it? void callback(esp_s...

Go to advanced search