#hazzy Logs

Apr 05 2020

#hazzy Calendar

07:19 AM Not-8b5f: [02probe_basic] 07d3cor commented on issue 03#8: Question regarding tool touch off - 13https://git.io/JvNsV
12:54 PM * hazzy-m rode 18.8 miles this morning
01:24 PM MrHindsight is now known as CaptHindsight
03:46 PM * hazzy-m uploaded an image: ima_9df2a62.jpeg (60KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/jYAuVTwhlVrkupFZzpDiYIsb >
03:48 PM hazzy-m: coronavirus is undefined xD
09:14 PM CaptHindsight: still can't get passed: AttributeError: 'module' object has no attribute 'CAP_PROP_FRAME_WIDTH'
09:14 PM CaptHindsight: even after trying python -m pip uninstall qtpyvcp_computer_vision
09:14 PM CaptHindsight: python -m pip uninstall qtpyvcp.computer_vision
09:14 PM CaptHindsight: python -m pip uninstall video_vcp
09:14 PM CaptHindsight: after fress git pulls
09:14 PM CaptHindsight: fress/fresh
09:39 PM hazzy-m: CaptHindsight: where is the video_vcp repo?
09:39 PM hazzy-m: I've been a bit out of the loop
09:40 PM CaptHindsight: https://github.com/TurBoss/VideoVCP
09:41 PM hazzy-m: thanks!
09:41 PM CaptHindsight: I thought I fixed the readme
09:41 PM hazzy-m: I'm gonna see if I can reproduce those errors here
09:41 PM CaptHindsight: I may have to clean up my home dir to get this working
09:42 PM CaptHindsight: too many pip install uninstalls might have broken this
09:42 PM CaptHindsight: hazzy-m: thanks
09:44 PM hazzy-m: pip is pretty good at not breaking things
09:45 PM hazzy-m: more likely a bug ...
09:46 PM CaptHindsight: TurBoss: made some git changes, thought he got the bug
09:47 PM CaptHindsight: I have a mill with a camera ready now, so if i can get the VCP going I can focus on openCV widgets
09:49 PM CaptHindsight: https://youtu.be/LTfe2ljmRpU?t=33 like this only with open source
10:01 PM hazzy-m: CaptHindsight: it was a error in the YAML file
10:01 PM hazzy-m: https://github.com/KurtJacobson/VideoVCP/commit/e59c3059f33fe90e39786505740c2028c33b8368
10:02 PM hazzy-m: TurBoss: did not notice it because he has his tnc vcp installed so it did not throw an error
10:06 PM CaptHindsight: ah hah!
10:06 PM CaptHindsight: will try again soon, many thanks
10:06 PM CaptHindsight: glad is wasn't me
10:08 PM CaptHindsight: hazzy-m: do they have you working from home yet?
10:12 PM hazzy-m: No, we have a small core in office still, me in sales, head of tech services, and a few parts and warehouse guys
10:13 PM hazzy-m: Actually been selling a lot of machines, almost 9M in sales last month, but service and parts is down to a crawl
10:34 PM CaptHindsight: hazzy-m: still same error for me
10:34 PM CaptHindsight: I'm going to start with a clean home directory
10:35 PM hazzy-m: Is it the TNC error?
10:36 PM hazzy-m: How did you install opencv?
10:36 PM CaptHindsight: AttributeError: 'module' object has no attribute 'CAP_PROP_FRAME_WIDTH'
10:36 PM CaptHindsight: don't remember
10:36 PM hazzy-m: Ok, thats an opencv error
10:36 PM CaptHindsight: have to check bash logs
10:36 PM CaptHindsight: ah ok
10:37 PM CaptHindsight: how should it be isnatlled?
10:37 PM CaptHindsight: installed even?
10:37 PM hazzy-m: Can you try pip uninstall python-opencv
10:37 PM hazzy-m: The install using apt
10:38 PM hazzy-m: Sudo apt install opencv-python
10:38 PM CaptHindsight: python -m pip uninstall python-opencv or?
10:38 PM hazzy-m: Yes
10:40 PM CaptHindsight: python-opencv, not installed, when using pip unisntall
10:43 PM CaptHindsight: reinstalled using apt
10:43 PM CaptHindsight: same error
10:44 PM CaptHindsight: AttributeError: 'module' object has no attribute 'CAP_PROP_FRAME_WIDTH'
10:44 PM CaptHindsight: wonder what is missing or I have borked here
10:46 PM hazzy-m: Strange
10:46 PM hazzy-m: So thats a capture device property
10:47 PM hazzy-m: I wonder if you're camera just doesn't have the frame width property
10:47 PM hazzy-m: Try commenting out that line and see what happens
10:51 PM CaptHindsight: it will be whack a mole
10:52 PM CaptHindsight: comment out W then H then the next lines that need W and H
10:54 PM CaptHindsight: comment out 48, 49, 51 and 54 and it now loads
10:56 PM CaptHindsight: the VCP loads but the screen is all black, no video
10:57 PM CaptHindsight: camera video shows up in VLC
10:58 PM CaptHindsight: it's /dev/video0
10:58 PM CaptHindsight: hazzy-m: what are you using for a camera?
10:59 PM CaptHindsight: I have a USB microscope on this, maybe I'll try a generic USB camera
11:08 PM CaptHindsight: no crosshairs either :(
11:09 PM CaptHindsight: crosshairs look dependant on there being a H and W
11:09 PM CaptHindsight: ok job for tomorrow
11:38 PM CaptHindsight: same error on another machine not a VM
11:39 PM CaptHindsight: same error with USB camera vs microscope
11:40 PM CaptHindsight: if it's a openCV issue, I'll see later