View: 471|Reply: 5

RaspTank camera not starting

[Copy link]

1

Threads

2

Posts

13

Credits

Newbie

Rank: 1

Credits
13
Post time 2021-1-2 00:30:06 | Show all posts |Read mode
Hello,

When trying to run the Web server for the RaspTank, the camera will not start.


pi@raspberrypi:~ $ sudo python3 adeept_rasptank/server/webServer.py
......................pause..........................
Starting camera thread.
VIDEOIO ERROR: V4L: can't open camera by index 0
Exception in thread Thread-3:
Traceback (most recent call last):
  File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.7/threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "/home/pi/adeept_rasptank/server/base_camera.py", line 94, in _thread
    for frame in frames_iterator:
  File "/home/pi/adeept_rasptank/server/camera_opencv.py", line 425, in frames
    raise RuntimeError('Could not start camera.')
RuntimeError: Could not start camera.

Any help would be appreciated!

Reply

Use magic Report

1

Threads

2

Posts

13

Credits

Newbie

Rank: 1

Credits
13
 Author| Post time 2021-1-2 01:56:20 | Show all posts
Fixed my own problem! It would help if I plugged in the camera to the correct port!
Reply

Use magic Report

1

Threads

8

Posts

23

Credits

Newbie

Rank: 1

Credits
23
Post time 2021-1-5 06:44:02 | Show all posts
Great. You plugged in the place of display?
Another source of camera error is the sunny connector not properly pressed or the flat bad oriented. I wrote this if someone search for the problem.
Reply

Use magic Report

19

Threads

214

Posts

746

Credits

Senior member

Rank: 4

Credits
746
Post time 2021-2-5 12:04:21 | Show all posts
1609518450 replied at 2021-1-2 01:56 AM
Fixed my own problem! It would help if I plugged in the camera to the correct port!

OK
Reply

Use magic Report

19

Threads

214

Posts

746

Credits

Senior member

Rank: 4

Credits
746
Post time 2021-2-5 12:04:46 | Show all posts
1609775601 replied at 2021-1-5 06:44 AM
Great. You plugged in the place of display?
Another source of camera error is the sunny connector no ...

Thank you
Reply

Use magic Report

0

Threads

8

Posts

22

Credits

Newbie

Rank: 1

Credits
22
Post time 2021-6-22 08:20:56 | Show all posts
Hey man, I thought that I'm the only one who is having some problem with this RaspTank camera not starting issue. If I remember correctly this is my 3rd time to experience this issue and it is starting to get annoying. I hope that someone from this forum can help us on fixing this issue with the RaspTank camera. Anybody here playing school girls simulator? install the app for free and experience a great simulator game. Watch the trailer of the game here https://www.youtube.com/watch?v=2KQduUZhARs
Reply

Use magic Report

You have to log in before you can reply Login | Sign Up

Points Rules