EdjeElectronics / TensorFlow-Object-Detection-on-the-Raspberry-Pi

A tutorial showing how to set up TensorFlow's Object Detection API on the Raspberry Pi
Apache License 2.0
1.13k stars 366 forks source link

Headless rpi B+ #43

Open alexharnozd opened 5 years ago

alexharnozd commented 5 years ago

Hi all.

Follow all the tuts and some workaround. Able to complete all tutorial with less error. But when i issue

sudo pyhton3 object_detectionetcetc.py

I got this error "cannot connect to X server"

Any work around on this? Been struggling for 3 days with this.

Setup : Pi camera Rpi b+ My living room samsung tv via hdmi to rpi (headless)

Did test take picture manually is ok Did test take video manually is ok Did test with keyboard usb with hdmi tv screen upon booth up

So far i m only SSH to rpi b+ via laptop(windows) & ssh via android phone.

gheesung commented 5 years ago

If you have installed the default Raspian OS, you can enable VNC to your pi.

alexharnozd commented 5 years ago

Hi @gheesung, thank you.

I installed this ver Raspbian Stretch Lite from official rpi website.

Did enable VNC from raspi-config And installed bunch of files in order to enable this vnc feature.

Any other step should i make?

gheesung commented 5 years ago

I have the normal Raspian Stretch installed and enable the VNC via raspi-config.

I did not notice if raspi-config installed additional files.

At the VNC client, I have disabled encryption to reduce the workload of the already over-worked pi.

lavanya5 commented 4 years ago

Hi all.

Follow all the tuts and some workaround. Able to complete all tutorial with less error. But when i issue

sudo pyhton3 object_detectionetcetc.py

I got this error "cannot connect to X server"

Any work around on this? Been struggling for 3 days with this.

Setup : Pi camera Rpi b+ My living room samsung tv via hdmi to rpi (headless)

Did test take picture manually is ok Did test take video manually is ok Did test with keyboard usb with hdmi tv screen upon booth up

So far i m only SSH to rpi b+ via laptop(windows) & ssh via android phone.

hi alexharnozd, Did you solved this issue? I am also getting the same error. It would be great help if you share how you proceed to solve the error. Thanks in advance.