#hazzy Logs

Apr 01 2020

#hazzy Calendar

02:37 AM TurBoss: morning
02:38 AM CaptHindsight: howdy
02:38 AM TurBoss: hey
02:38 AM TurBoss: sorry yesterday was tired and went to bed early
02:39 AM CaptHindsight: same here
02:39 AM TurBoss: we have all we need to start the computer vision stuff
02:39 AM TurBoss: do you have a github account?
02:40 AM TurBoss: not really nedded
02:40 AM TurBoss: :)
02:40 AM CaptHindsight: I do but it's been a while
02:40 AM TurBoss: just clone https://github.com/kcjengr/qtpyvcp.computer-vision/
02:40 AM TurBoss: to some places
02:41 AM CaptHindsight: you guys need to setup all the structure
02:41 AM TurBoss: * to some place
02:41 AM TurBoss: i don't have a single pen arround lol
02:41 AM CaptHindsight: I'm just the low level nuts and bolts guy, prefer 1's and 0's :)
02:42 AM CaptHindsight: <-- codes with soldering irons
02:42 AM TurBoss: https://github.com/kcjengr/qtpyvcp.computer-vision/blob/master/qtpyvcp_computer_vision/widgets/opencv_widget.py
02:42 AM TurBoss: xD
02:42 AM TurBoss: i like to say " code with chisel
02:43 AM TurBoss: what algorithm you need to apply first to the video input
02:45 AM TurBoss: https://docs.opencv.org/2.4/modules/imgproc/doc/feature_detection.html?highlight=canny
02:46 AM TurBoss: where "image" is our "frame"
02:46 AM CaptHindsight: there should be some basic camera/image adjustments
02:46 AM CaptHindsight: contrast, brightness normaization etc
02:46 AM CaptHindsight: then noise removal
02:47 AM CaptHindsight: then things to detect edges and outlines
02:47 AM CaptHindsight: morphological filters
02:48 AM TurBoss: ok so contrast
02:48 AM TurBoss: per example
02:48 AM TurBoss: https://docs.opencv.org/2.4/doc/tutorials/core/basic_linear_transform/basic_linear_transform.html?highlight=contrast
02:48 AM CaptHindsight: probably start with what most people will want to use which is edge detection
02:48 AM TurBoss: thoose examples are for c++
02:49 AM TurBoss: :/
02:49 AM CaptHindsight: compare crosshairs to detected edge
02:53 AM CaptHindsight: what if we just start with a way to plug python operations into widgets
02:53 AM CaptHindsight: and think about how to add C++ filters later
02:54 AM TurBoss: ok
02:54 AM CaptHindsight: https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_imgproc/py_gradients/py_gradients.html
02:54 AM Not-8b5f: [02qtpyvcp] 07TurBoss pushed 034 commits to 03ATC_SIM_FILES [+12/-3/±5] 13https://git.io/Jvdkw
02:54 AM Not-8b5f: [02qtpyvcp] 07TurBoss 03efb467e - remove simlink
02:55 AM Not-8b5f: [02qtpyvcp] 07TurBoss 038525dd5 - copy hallib to atc example
02:55 AM Not-8b5f: [02qtpyvcp] 07TurBoss 036ff51e0 - remove unused files
02:55 AM Not-8b5f: [02qtpyvcp] 07TurBoss 03b1cf210 - use debug channel to feed atc widget
02:55 AM Not-8b5f: [02qtpyvcp] 07TurBoss created branch 03ATC_SIM_FILES - 13https://git.io/fhCou
02:55 AM CaptHindsight: https://ibin.co/2u5W3RNmUMtN.jpg sobel filter to find the edges
02:56 AM CaptHindsight: https://ibin.co/2u5XXEUdLjMj.jpg
02:56 AM travis-ci: kcjengr/qtpyvcp#1416 (ATC_SIM_FILES - b1cf210 : TurBoss): The build passed.
02:56 AM travis-ci: Diff view : https://github.com/kcjengr/qtpyvcp/compare/efb467e28c70^...b1cf210ab6d5
02:56 AM travis-ci: Build details : https://travis-ci.org/kcjengr/qtpyvcp/builds/669579212
02:57 AM TurBoss: sorry for the spam had to save what was doing
02:57 AM CaptHindsight: sure
02:57 AM TurBoss: ok
02:57 AM TurBoss: yeah saw thoose pics
02:57 AM TurBoss: ok from the example there
02:58 AM * TurBoss sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/OTdGajXlHdVSPAWdjTzSljEg >
02:58 AM CaptHindsight: lets get an edge detect going to find a corner, then use it to XY 0,0
02:59 AM CaptHindsight: 3:00 here
02:59 AM TurBoss: oh
02:59 AM TurBoss: late?
03:00 AM CaptHindsight: I have the 3-axis router running with a USB microscope
03:00 AM CaptHindsight: I'm currently powered by Scotch, so won't be doing much development this morning
03:00 AM * TurBoss uploaded an image: Captura de pantalla de 2020-04-01 10-00-15.png (201KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/TOWGtqrbpIELomubptLVcsbW >
03:01 AM CaptHindsight: what I need to do is get a VCP with openCV window that i can start dropping filters into
03:02 AM TurBoss: ok
03:02 AM CaptHindsight: then you guys can figure out what tools and widgets to make it work for anyone trying to build a GUI
03:02 AM TurBoss: ok install proccess is a bit tricky for now
03:02 AM CaptHindsight: yeah
03:02 AM CaptHindsight: no problem
03:02 AM CaptHindsight: I have a dev install
03:02 AM TurBoss: if you can follow my steps?¿
03:03 AM CaptHindsight: sure
03:03 AM TurBoss: cool
03:03 AM TurBoss: you allready have a opencv-computer-vision directory out there?
03:04 AM CaptHindsight: so assume I'm working with a dev version install and just be clear what pip should install and what should be git cloned for me to edit and make commits
03:04 AM CaptHindsight: yes I do
03:05 AM TurBoss: navigating to that folder "qtpyvcp.computer-vision"
03:05 AM CaptHindsight: that was my confusion the other day
03:05 AM TurBoss: and issue "pip install --upgrade -e ."
03:05 AM CaptHindsight: ok
03:05 AM TurBoss: this will install the python module but let us edit from the directory
03:06 AM TurBoss: no need to reinstall with each change
03:06 AM TurBoss: but can't be moved
03:06 AM CaptHindsight: it's on a VM on this machine but I will have it one the real machine (actual mill) later today
03:06 AM CaptHindsight: one/on
03:06 AM TurBoss: only saw little frame errors using VM
03:07 AM TurBoss: if I reboot and boot from the hdd it works great
03:07 AM CaptHindsight: actual mill is 3m from this VM, but across sneaker net
03:07 AM TurBoss: so you need an editor now
03:07 AM CaptHindsight: no problem
03:09 AM TurBoss: ok now should be posible to add the widget to the VCP
03:09 AM TurBoss: in designer
03:09 AM TurBoss: save that and try to run that VCP you should get video
03:17 AM CaptHindsight: back
03:17 AM TurBoss: ok
03:18 AM CaptHindsight: TurBoss> save that and try to run that VCP you should get video
03:18 AM CaptHindsight: will be back in a few hours and report status sir
03:19 AM TurBoss: great
03:19 AM TurBoss: latter
03:19 AM CaptHindsight: i checked the logs, i didn't miss anything you said
03:20 AM CaptHindsight: long day
03:20 AM TurBoss: not much talk today
03:20 AM TurBoss: 📼
03:20 AM TurBoss: i mean yesterday
04:58 AM TurBoss: https://github.com/TurBoss/VideoVCP
05:17 AM jthornton: morning
05:38 AM TurBoss: good morning JT
05:38 AM TurBoss: https://github.com/TurBoss/VideoVCP
06:09 AM jthornton: cool
06:28 AM * TurBoss uploaded an image: Captura de pantalla de 2020-04-01 13-28-02.png (486KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/URiUfcPnusIMhWKIVBrTtCQG >
06:28 AM TurBoss: not a good light
06:37 AM JT[m]: cool
09:06 AM Lcvette: morning o/
09:08 AM TurBoss: o/
09:22 AM roguish[m]: good morning all. well, just got another month in solitary....
09:24 AM TurBoss: you are not alone
09:24 AM TurBoss: lol
10:09 AM JT-Shop: the only thing open here is grocery, gas, home improvement... oh and fast food drive up
10:09 AM * JT-Shop is going to ride the mountain bike after lunch... a bit cool but sunny
10:31 AM roguish[m]: JT-Shop: closing more here also. finally decided that construction was not 'essential'......... and the schools in the state are done for this school year......
11:03 AM jthornton: unless your building a hospital...
11:29 AM Lcvette: JT-Shop: lcvettes bike arrived and i got the new dropper post installed, waiting for comfy seat and pedals to arrive today!
11:30 AM Lcvette: :D
11:31 AM Lcvette: also installed dropper post on wifes bike
11:31 AM Lcvette: she has a 1x10 crank conversion arriving today and a new 11-42 cassette and chain for the rear
01:22 PM roguish[m]: Lcvette: cool. I just finished my easy morning ride.
01:23 PM Lcvette: roguish: nice.. tomorrow will be my first official ride i think
01:23 PM Lcvette: plan is to ride my local mtb trail loop daily m-f
01:24 PM Lcvette: i'll tell ya, routing the stealth internal dropper seat post cable was a nightmare
01:25 PM Lcvette: has to go inside the frame from the head tube area down the bottom frame rail then make the turn at the bottom bracket and up the seat tube
01:25 PM Lcvette: i screwed with it for 4 hours yesterday
01:25 PM Lcvette: tried floss and a vacuum, and the magent thing
01:25 PM Lcvette: finally i just fed some 14 ga wire and it somehow made the turn on its own
01:26 PM Lcvette: i was able to see it throug one of the lower frame opening and grab it and pull it the rest of the way up
01:26 PM Lcvette: but its all done and now its super sleek all hidden
01:26 PM Lcvette: :D
01:26 PM Lcvette: \o/
01:39 PM Not-8b5f: [02probe_basic] 07beelash starred 03probe_basic - 13https://git.io/Jvdr2
01:47 PM CaptHindsight: string with small weight
01:47 PM CaptHindsight: nylon fish tape or similar also comes in handy
01:52 PM roguish[m]: Lcvette: enjoy, be safe.. remember, cars are out to kill cyclists. practice assertive defensive cycling.
02:07 PM Lcvette: i will be riding on trails
02:07 PM Lcvette: totally away from cars and roads
02:07 PM Lcvette: all off road through the woods
02:19 PM jthornton: Lcvette, you get your new toy in?
02:19 PM Lcvette: \o/ yup
02:19 PM Lcvette: :D
02:19 PM Lcvette: but waiting on ups today for some things needed
02:20 PM jthornton: what pedals did you get?
02:20 PM Lcvette: Rock Brothers flat pedals
02:20 PM Lcvette: cheapies
02:20 PM Lcvette: lol
02:21 PM Lcvette: https://www.amazon.com/gp/product/B07CWRQQGD/ref=ppx_yo_dt_b_asin_title_o09_s00?ie=UTF8&psc=1
02:31 PM jthornton: interesting pedal
02:32 PM Lcvette: do you use clip ins?
02:34 PM jthornton: yea keeps my foot positioned correctly
02:35 PM Lcvette: may try those down the road if platform pedals don't work out for me
02:35 PM Lcvette: but for now i think these will get me on the trail
02:36 PM jthornton: when I have them flipped over like starting out I have one flipped over my foot ends up too far forward and I loose power
02:37 PM jthornton: you also need proper shoes...\
02:39 PM Lcvette: i have sneakers
02:39 PM Lcvette: lol
02:39 PM Lcvette: New Balance
02:39 PM Lcvette: :D
02:50 PM * JT[m] uploaded an image: VectorImage_2020-04-01_024929.jpg (6707KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/oYACpcRPJxsKZEddGIMIhlIN >
02:50 PM * JT[m] uploaded an image: VectorImage_2020-04-01_024954.jpg (4506KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/zrCrgwxkhgcEIpoGQcQXxwpT >
02:52 PM * JT[m] uploaded an image: VectorImage_2020-03-26_033127.jpg (8429KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/AouMIMFwAeaKpsKlgnEVqMpI >
02:52 PM Lcvette: ah those are like strap type
02:53 PM Lcvette: my wifes were clip pedals
02:54 PM Lcvette: that required clip shoes
03:19 PM jthornton: that is called clipless lol
03:33 PM Lcvette: i dunno
03:34 PM Lcvette: /o\
04:20 PM * hazzy-m uploaded an image: ima_981d6cc.jpeg (168KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/QmkVgYUKddjtBbFLAZPwGqyg >
04:30 PM * TurBoss uploaded an image: image.png (23KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/LpbDbldxVxjkvGXoIcbsWXca >
04:35 PM CaptHindsight: hazzy-m: one of your machines?
04:36 PM TurBoss: CaptHindsight: wrote an example vcp to test the code https://github.com/TurBoss/VideoVCP
04:37 PM JT-Shop: Lcvette, make your first ride very short like 1/2 mile or less out and back
04:37 PM JT-Shop: always carry enough water to walk back out pushing your bike
04:37 PM CaptHindsight: TurBoss: will install it later today and try
04:37 PM TurBoss: cool
04:39 PM Lcvette: JT-Shop: the trail we have near my house is compact, you never really go very far from the staging area
04:39 PM * Lcvette uploaded an image: image.png (435KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/TRZLWlTOHQKbnzoYmNlWRSXG >
04:39 PM JT-Shop: also check your tire pressure before you ride
04:40 PM Lcvette: yup
04:40 PM Lcvette: pre ride checklist!
04:40 PM Lcvette: and i will have the truck so both shock and tire pumps will be with me
04:40 PM JT-Shop: yea, better to know you need to fix a leaker before your half way out
04:41 PM JT-Shop: the beginner trail looks like a good place to start
04:42 PM JT-Shop: the first ride I'd take the short cut on the blue line that cuts 1/3 of the green trail off
04:42 PM JT-Shop: is there much elevation change over the trails?
05:19 PM Lcvette: no, not on these trails
05:35 PM Lcvette: this is the coastal plains
05:35 PM Lcvette: lol
05:35 PM Lcvette: everything is flat
05:36 PM Lcvette: the one about 35 minutes away has a little bit of elevation
05:37 PM * Lcvette uploaded an image: image.png (141KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/LQtrxFBDxtXFMGhIATZsixvn >
06:10 PM jthornton: best to stick to the flat one till you get some experience
06:14 PM jthornton: https://www.fs.usda.gov/Internet/FSE_DOCUMENTS/fseprd716250.pdf
06:15 PM jthornton: I usually ride the outer trail to crooked ass trail the cut off of it on the last loop to get 15 miles of hard riding
06:17 PM jthornton: crooked ass trail is a bit soft so hard going the whole way, the southwest part of wolf creek trail is rocky and you climb 150'
06:20 PM jthornton: there are some pretty steep ascents and descents on the west side and one bad ass ascent on the south east side after you cross busted butt creek
06:58 PM Lcvette: man 8pm here and ups has still not delivered yet.. those guys must be backed up with amazon orders from the lockin
06:58 PM Lcvette: *
07:09 PM roguish[m]: Lcvette: when you try any pedals that constrains your feet, you will fall over at least once. everyone, everyone does. no exception. just get up and laugh......
07:10 PM Lcvette: yeah.. im not find of fallin over
07:10 PM Lcvette: at my fat ass current weight its damaging
07:10 PM roguish[m]: so, yeah, go easy at first. most important is to just enjoy
07:10 PM Lcvette: lol
07:11 PM Lcvette: im super pumped!
07:13 PM roguish[m]: well, good night from the left coast.....ttfn
08:13 PM * Lcvette uploaded an image: VectorImage_2020-04-01_091258.jpg (354KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/BLtimlIckyAIRMRlPCIUUaiF >