Gmoccapy mit USB Kamera

More
6 years 6 months ago #166200 by bluephoenix
Gmoccapy mit USB Kamera was created by bluephoenix
Hallo,
ich bräuchte Hilfe zum Einrichten einer Kamera.
Ich würde gerne meine USB-Kamera unter Gmoccapy installieren, was mir aber bist jetzt nicht gelungen ist.
Derzeit habe ich linuxcnc 2.8 unter Linux Mint 19.1 laufen. Allerdings hatte ich sie auch schon nicht unter 2.7 mit der offiziellen Debian Wheezy zum Arbeiten überreden können. Vor längerer Zeit, wo ich unter Axis unterwegs war ging es.
Die Kamera an sich funktionert und wird auch erkannt. Die Standard Tips zur Kameraeinbindung haben alle nicht funktioniert.

Was habe ich bis jetzt getan? In der ini Datei steht

EMBED_TAB_NAME = Kamera
EMBED_TAB_LOCATION = ntb_preview
EMBED_TAB_COMMAND = gladevcp -x {XID} camview.glade

Installiert wurde
sudo apt-get install qv4l2

qv4l2 eingegeben und das Kamerabild erscheint.

sudo apt-get install python-opencv
sudo apt-get install v4l-utils
sudo apt-get install v4l2ucp

Aber der Tab bleibt leer.

Please Log in or Create an account to join the conversation.

More
6 years 6 months ago #166249 by bluephoenix
Replied by bluephoenix on topic Gmoccapy mit USB Kamera
So, es läuft zwar nicht, aber ich bin einen Schritt weiter:
ich habe nun die Dateien
hal_python.xml
hal_pythonplugin.py
camview.py
in das Verzeichnis
/usr/lib/python2.7/dist-packages/gladevcp
gespielt.
Dann kommt die Fehlermeldung
Found an error!
The following information may be useful in troubleshooting:

Traceback (most recent call last):
File "/usr/bin/gmoccapy", line 5175, in <module>
app = gmoccapy(sys.argv)
File "/usr/bin/gmoccapy", line 174, in __init__
self.builder.add_from_file(XMLNAME)
GError: Invalid object type `SpeedControl'

Please Log in or Create an account to join the conversation.

More
6 years 6 months ago #166250 by tommylight

Please Log in or Create an account to join the conversation.

More
6 years 6 months ago #166284 by bluephoenix
Replied by bluephoenix on topic Gmoccapy mit USB Kamera
Hi,
you can't imagine how many hours I spent searching the web and trying out things. The link above does not bring me on further.
I will now use the mplayer solution, as it was a question in the thread below.
camview

We can close this here.
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
6 years 6 months ago #166286 by tommylight
Replied by tommylight on topic Gmoccapy mit USB Kamera
Sorry but there is not much more info about it, as you are using Gmoccapy.
There is much more info on using camera with Axis screen, but i ma not sure that is very helpful.
MFG
Tom.

Please Log in or Create an account to join the conversation.

More
6 years 6 months ago #166288 by bluephoenix
Replied by bluephoenix on topic Gmoccapy mit USB Kamera
Hi Tom,
I appreciate your answer.
MFG :)
Albert
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

Moderators: Muecke
Time to create page: 0.508 seconds
Powered by Kunena Forum