Die Suche ergab 219 Treffer

von hvn
22 Nov 2017, 10:36
Forum: Community-Projekte
Thema: CFW weekly builds
Antworten: 143
Zugriffe: 81738

Re: CFW weekly builds

Nice to see that the development continues. Question though: since the installation of 0.9.3 on 1 of my TXT's, the motors and taking images aren't working anymore. On my other TXT with 0.9.2-4, everything runs nice. Since I don't like downgrading cfw, which 0.9.4 version should I take as it's not br...
von hvn
22 Nov 2017, 08:55
Forum: Community-Projekte
Thema: Using OpenCV
Antworten: 17
Zugriffe: 6739

Re: Using OpenCV

Hi thomass, Nice to see your efforts on CFW and ROS. I'm using Python and ROS with a different experiment involving RaspberryPi and may start doing it here as well. On the error of the camera thread: yes, that's my experience as well. Either connection to the TXT is aborted, the camera thread is cut...
von hvn
01 Nov 2017, 16:04
Forum: Community-Projekte
Thema: Using OpenCV
Antworten: 17
Zugriffe: 6739

Re: Using OpenCV

Ok, actually the base of the problem is getCameraFrame(). The path is correct, I just made a slight mistake commenting out the creation of filename. So because getCameraFrame doesn't work anymore, this code: pic = None while pic == None: pic = txt.getCameraFrame() print("pic") gives this output: <sn...
von hvn
01 Nov 2017, 11:24
Forum: Community-Projekte
Thema: Using OpenCV
Antworten: 17
Zugriffe: 6739

Re: Using OpenCV

All errors I could get: 1: using txt.getCameraFrame() Exception in thread Thread-1: Traceback (most recent call last): File "/wheel/SSDSpace/devel/ftcommunity-TXT-0.9.3/output/target/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner File "/wheel/SSDSpace/devel/ftcommunity-TXT-0.9.3/outp...
von hvn
01 Nov 2017, 10:47
Forum: Community-Projekte
Thema: original fw + ftrobopy+ OpenCV ?
Antworten: 7
Zugriffe: 3454

Re: original fw + ftrobopy+ OpenCV ?

More info. First: the error I get now: $ ./run_python Mirft2.py Connected to TX2013 firmware version 4.2.4 Camera connected Traceback (most recent call last): File "Mirft2.py", line 41, in <module> videv = ftrobopytools.camInit(fps, width, height, 0, 0) ftrobopytools.error: error set pixel format in...
von hvn
30 Okt 2017, 21:30
Forum: Community-Projekte
Thema: Using OpenCV
Antworten: 17
Zugriffe: 6739

Re: Using OpenCV

@Richard,

Can you tell me how much of OpenCV is actually implemented in the cfw? I tried to create a gray image using a standard OpenCV instruction which was unknown during execution. Also, with all errors it shows a path inside /home/Richard/..... missing something.

hvn
von hvn
29 Okt 2017, 16:47
Forum: fischertechnik allgemein
Thema: full-HD video & pictures of the convention in Schoonhoven
Antworten: 2
Zugriffe: 1550

full-HD video & pictures of the convention in Schoonhoven

Hi,

This is a compilation video of 45 minutes recorded in full-HD of the convention in Schoonhoven at 28-10-2017: https://youtu.be/2Qv9NLs5KVA.
Pictures of the convention: https://www.flickr.com/photos/89022424@ ... 8501780514

I hope you enjoy.

hvn
von hvn
25 Okt 2017, 13:53
Forum: Community-Projekte
Thema: Using OpenCV
Antworten: 17
Zugriffe: 6739

Re: Using OpenCV

Now I really get puzzled. In my code (a part which has nothing to with OpenCV) I use: while pic == None: pic = txt.getCameraFrame() Where it used to work, apart from getting quite a few 0 byte images, now the code hangs on this line. The final error I get after ^C is "struct.error: ubyte format requ...
von hvn
25 Okt 2017, 13:36
Forum: Community-Projekte
Thema: original fw + ftrobopy+ OpenCV ?
Antworten: 7
Zugriffe: 3454

Re: original fw + ftrobopy+ OpenCV ?

The error I first got was: "ftrobopytools.error: error set pixel format in cam_init Now I get another error: "undefined symbol: Py_InitModule4". What I used from you ftDigiCam.py is the initialization: import ftrobopytools fps = 15 width = 320 height = 240 videv = ftrobopytools.camInit(fps, width, h...
von hvn
23 Okt 2017, 21:35
Forum: Community-Projekte
Thema: original fw + ftrobopy+ OpenCV ?
Antworten: 7
Zugriffe: 3454

Re: original fw + ftrobopy+ OpenCV ?

I installed ftrobopytools and get a pixel error using .initCam(fps, width, height, 0, 0) while partly following your github example, actually on both firmwares. Any idea why?
von hvn
23 Okt 2017, 21:12
Forum: Community-Projekte
Thema: Using OpenCV
Antworten: 17
Zugriffe: 6739

Re: Using OpenCV

I'm using OpenCV from my code, and I just find that the errors occur using Python 2.7 and not Python 3. And I'm still having the habit to use my Python 2.7 script so I guess I better remove that. But I've used OpenCV with Python 2.7 as well in the past. So is this for the TXT indeed only to be used ...
von hvn
23 Okt 2017, 14:48
Forum: Community-Projekte
Thema: Using OpenCV
Antworten: 17
Zugriffe: 6739

Re: Using OpenCV

Hi Richard, Is there an example on how to use opencv with cfw? The usual way using import cv2 import numpy as np image = cv2.imread(filename) gives errors on cv2, numpy and imread: ImportError on both cv2 and numpy and NameError: global name 'imread' is not defined (after removing cv2). So can you t...
von hvn
19 Okt 2017, 08:59
Forum: Community-Projekte
Thema: original fw + ftrobopy+ OpenCV ?
Antworten: 7
Zugriffe: 3454

Re: original fw + ftrobopy+ OpenCV ?

Hi Torsten,

Thank you for the answer. Didn't know about that project and will give it a try.

Regards,

hvn
von hvn
18 Okt 2017, 15:12
Forum: Community-Projekte
Thema: original fw + ftrobopy+ OpenCV ?
Antworten: 7
Zugriffe: 3454

original fw + ftrobopy+ OpenCV ?

@Torsten as discussed in http://forum.ftcommunity.de/viewtopic.php?f=33&t=4470, is it possible to add OpenCV to ftrobopy somehow so it can be used on the original firmware?

Thank you.

hvn
von hvn
17 Okt 2017, 21:17
Forum: Community-Projekte
Thema: Using OpenCV
Antworten: 17
Zugriffe: 6739

Re: Using OpenCV

Of course, if someone else wants to beat me to it: Pull requests are always welcome ;-)
Since OpenCV is present, I'm fine waiting for it :-)
von hvn
17 Okt 2017, 20:06
Forum: Community-Projekte
Thema: Using OpenCV
Antworten: 17
Zugriffe: 6739

Re: Using OpenCV

Hi Richard,

That great news. This means I can already make a start, and on the original firmware would be a very nice addition as well, so I'll ask Torsten. When do you think OpenCV 3.3 will be included?

Regards,

hvn
von hvn
17 Okt 2017, 18:47
Forum: Community-Projekte
Thema: Using OpenCV
Antworten: 17
Zugriffe: 6739

Using OpenCV

Hi,

Before I make any attempt to do so: would it be possible to install OpenCV on the controller to use with Python?

Thanks

hvn
von hvn
13 Okt 2017, 15:52
Forum: Robo Pro / Computing / Software
Thema: Robo Pro und Wine
Antworten: 33
Zugriffe: 43746

Re: Robo Pro und Wine

Hi, Recently I've tried again with ROBOPro and for me things haven't changed. So with the newest version of ROBOPro I still don't have a live-camera image via wine. I plan to do some experiments to use OpenCV for object detection in combination with copying grabbed images to a computer (which alread...
von hvn
12 Okt 2017, 12:31
Forum: Robo Pro / Computing / Software
Thema: RoboInterface and BASIC on Linux
Antworten: 5
Zugriffe: 2885

Re: RoboInterface and BASIC on Linux

Ok, I found the interpreter and the FtLoader.exe in storage. Thomas advised me to use FtLoader with wine, so I tried with the result that with USB selected, "No ft-devices found / keine ft-Geraete gefunden". This isn't promising.