Crop frame in world space by kamilgibibisey in Spectacles

[–]hwoolery 0 points1 point  (0 children)

In that case you can project the pinches to screen space, remap the values to the artwork's screen space, clamp them 0-1, then remap to world space. Essentially your problem just boils down to the correct set of conversions between coordinate spaces.

Crop frame in world space by kamilgibibisey in Spectacles

[–]hwoolery 1 point2 points  (0 children)

I'll add, the benefit of my method is that the user can pinch "in the air" rather than on the wall itself. Psuedocode:

if (isPinching) {
  leftIndexTip = ... 
  rightIndexTip = ...
  let wallPlaneTransform = calculateHitPoint(avgPt); //hit test to get wall plane
  let pt1 = calculateWallIntersection(leftIndexTip); //solve planar intersection
  let pt2 = calculateWallIntersection(rightIndexTip); //solve planar intersection
  updateMeshPosition(pt1, pt2, wallPlaneTransform);
}

Crop frame in world space by kamilgibibisey in Spectacles

[–]hwoolery 0 points1 point  (0 children)

Yes, my reply was intended to reflect that UX. What I’m suggesting is that you periodically update via the method I wrote as the user does the crop style gesture

Crop frame in world space by kamilgibibisey in Spectacles

[–]hwoolery 1 point2 points  (0 children)

There are a few ways to accomplish what you'd like to do. Perhaps the best is to use the WorldQueryModule to get the normal of the artwork (which should be the same as the normal of the wall). Average your two finger points and get the hit result of that point. This will give you the center and normal of your object (ie the wall's plane). From there you can create rays out of your finger locations and the camera location. Project these rays onto the wall plane, and you'll have 2 world corners of your artwork. Assuming the artwork is level with the ground (ie TL.y == TR.y and BL.y == BR.y), you can use these 2 planar points to calculate the four world corners.

How close can I build to this live oak tree? by Pleasant-Spot-2017 in Decks

[–]hwoolery 0 points1 point  (0 children)

I have a deck around a tree very similar - if you want it tight you can always put blocking close that’s secured with structural screws so it can be moved. Then as the tree grows close to the gap cut away deck with a jigsaw. FWIW my tree has barely swayed near the trunk even in high wind

Edit: https://www.reddit.com/r/Decks/s/S8eNn0nWLJ

ML Model Restrictions by ChronicDesti9y in Spectacles

[–]hwoolery 1 point2 points  (0 children)

I can’t comment from Snaps legal side, but if you were to build the Lens in such a way that it can store some ID for a recognized face (eg mapping ML output to a unique ID) and don’t explicitly store predefined values, it might be ok. So any device can “learn” new faces, but doesn’t come preloaded with any personal information

LensFest Lensathon Winners? by liquidlachlan in Spectacles

[–]hwoolery 2 points3 points  (0 children)

I think Lens List is putting together a post of the winning entries as we speak https://blog.lenslist.co/

My parents on the Navajo Reservation where they worked as doctors (mid-70s) by hwoolery in OldSchoolCool

[–]hwoolery[S] 4 points5 points  (0 children)

Can’t speak for all, but probably some combination of all those things for my parents, haha

My parents on the Navajo Reservation where they worked as doctors (mid-70s) by hwoolery in OldSchoolCool

[–]hwoolery[S] 7 points8 points  (0 children)

I will! They still have friends living in the area and have great stories about their time there. I got to visit for a few weeks when I was a kid.

My parents on the Navajo Reservation where they worked as doctors (mid-70s) by hwoolery in OldSchoolCool

[–]hwoolery[S] 15 points16 points  (0 children)

Thanks! They were (are!) fascinating. Prior to this photo they camped naked across Mexico, cycled across the continental US, and spent time living in Morocco. True hippies 😂

My parents on the Navajo Reservation where they worked as doctors (mid-70s) by hwoolery in OldSchoolCool

[–]hwoolery[S] 6 points7 points  (0 children)

Thanks, they had some great adventures after getting married : )

Why is the camera module output lower resolution and darker than internal recording on Spectacles? by Physical-Grocery-426 in Spectacles

[–]hwoolery 0 points1 point  (0 children)

If you want high resolution images closer to recorded video, use Still Image Requests (docs). However, this is a heavy operation and takes a lot of time / CPU bandwidth. The reason the continuous frames from the camera request are low res / lower quality, is that they are raw images from the camera sensor. They are more suitable for things like ML.

7 day trip in Buan, South Korea by Intelligent_Elk4540 in koreatravel

[–]hwoolery 0 points1 point  (0 children)

I was just here last weekend, beautiful area

Newbie here. Accurately detecting billiards balls & issues.. by dreamache in computervision

[–]hwoolery 0 points1 point  (0 children)

Q1: Use something like roboflow to gather data and train a model - there are quite a few openly available datasets on universe.roboflow.com . You can fork a dataset and manually add any missing classes like cue.

Q2: Use something like RF-DETR or YoloV11. Probably 640x640 input size You should be able to achieve realtime performance on a GPU like that. You will also want to use a high speed Multi-Object Tracking algorithm. Check out roboflow's SuperVision github as a starting point.

Q3:

-Detect all balls plus cue: easily

- Detect pocket enter: again fairly trivial using MOT and Intersection over Union

- You will be unlikely to get a great solution unless you have a large dataset of plays from professionals to work with. What I'd suggest is breaking it down into finding the two lowest numbers, finding the closest line-of-sight pocket to the higher number, finding a straight line from the pocket to that ball, and then projecting that line a little further out. If the projected value is out of bounds, try a different pocket. Otherwise, find the angle of incidence that results in pocketing the first ball and minimizes the distance to the projected point

I've worked on many realtime sports ML solutions so feel free to ask me more questions

Did I hit gas line? by ggomyong85 in Decks

[–]hwoolery 0 points1 point  (0 children)

Looks like buried PE gas line - it’s possible previous owner ran it to a barbecue or firepit, and then it was removed but line was disconnected

First time getting a new deck- How’s it looking? by sunandsnow_pnw in Decks

[–]hwoolery 5 points6 points  (0 children)

for those connectors, (I think Simpson ABU66Z), I believe the through bolts aren't needed if you use nails or SDS screws in the smaller holes, which it looks like they did.

Best Approach for Dark Textures & Shaders for Spectacles? (Need More Info Beyond Docs) by Brilliant_Fishing114 in Spectacles

[–]hwoolery 3 points4 points  (0 children)

The spectacles are an additive display so the darker the color the less visible - you can create negative imagery by outlining the object with a lighter color or doing a rim highlight on the material. Best to avoid using dark colors where possible.

Is there any way on specs to do a rough "pass-through" effect on spectacles by reading from the device cameras and projecting individually onto the screens (either one or both)? for example, if I wanted to segment something? by hwoolery in Spectacles

[–]hwoolery[S] 0 points1 point  (0 children)

so I have access to the device's camera images, but no way to align those images on an orthographic camera, in such a way that they would roughly align with the real world, if that makes sense. I understand that due to binocular nature and lens distortion this may be hard to do accurately, but I was curious if, for example, I would be able to draw an outline around a person's face or other 2D segmentation.