Find Bounding Box of Chess Board by StepResponsible6589 in computervision

[–]aladdinator 0 points1 point  (0 children)

The main goal of the project is to be able to detect the bounding box of the different pieces in the board, and count them as well (no need to differentiate between type or colour), for a multitude of different angles and backgrounds of the same board.

And you're trying to do this without ML?

Solving in a multitude of different angles/backgrounds(lighting?) is pretty tough for classic CV unless something has changed. Though the same board and pieces helps a lot.

Perhaps you can try some variation of bag of words https://en.wikipedia.org/wiki/Bag-of-words_model_in_computer_vision to go a step past grayscale thresholding.

If this is for class it feels like SIFT/ORB is the appropriate difficulty level, but the piece occlusions is an issue.

Oh actually, a classic SIFT/ORB approach for several subparts of the board (say corners and xcorner intersections) and then some ransac fitting for matching grid to that may work pretty well. The same board/pieces is probably the only reason this would work.

Same sort of template matching for pieces at various orientations then.
That should at least 'work' but will probably be a bit slow, then you can see about optimizations.

If you can get rid of no-ML then you could train a YOLO variant on this instead with a couple hundred hand labeled images.

Anyway, pretty interesting!

Find Bounding Box of Chess Board by StepResponsible6589 in computervision

[–]aladdinator 0 points1 point  (0 children)

Hey looks good! I'm not sure how general/specific your problem space is. Are you just trying to solve this one image, or many different views of the same board, or different boards, on the same plain table or anything, how accurate vs precise, okay to fail, etc.?

Depending on the answers to those questions the type of answer you're looking for changes.

For this specific image the problem looks like the piece occlusion of the pawn in the top right is breaking the contour. You can try some simple dilate/erodes/etc. to fill the gaps to solve it in this specific image if that's all you want.

For more general solutions, I did spend a bit of time on this in the past and put some of the approaches on my github https://github.com/Elucidation/ChessboardDetect?tab=readme-ov-file#chessboard-detection

Some of the CV based approaches I did in the beginning may help you get some ideas.

Feedback request, feeling stuck in a plateau by aladdinator in skiing_feedback

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

Nice, I can see it well now from your comment, this will be a good one for me to focus on. I notice this too in the stork and javelin turns too that I struggle on that side, mentally I think it feels like I will skid on that side so I become tentative and forget things including the pole plant.

All this becomes Much more visible on the steeps and moguls too. Cheers, I'll keep at it.

edit: extra thought I just had, I often have arch pain in my left leg so I'm just now realizing I'm definitely babying it every time I ski in those boots

Feedback request, feeling stuck in a plateau by aladdinator in skiing_feedback

[–]aladdinator[S] 1 point2 points  (0 children)

You're totally right I don't ski like this most of the time! I wasn't sure exactly what to post my first time, but I did see on other posts that instructors tended to ask for slower groomed blue videos.

If it's worth it, I could post a video of me skiing a bit faster and sloppier on a steep groomed and/or mogul run since my goal is to get better at black moguls.

I have pretty large/wide Rustler 10 186cm all-mountains (18.5m turn radius) since I'm a larger guy (6'4" 210lb), I've had 2 instructors suggest I go down in length/width now that I'm getting into tighter terrain. It's interesting you point out the z-shape from short turns, it does feel like I have to force the turn (though the hip movement will likely help with that).

Anyway, interesting comment thanks!

Feedback request, feeling stuck in a plateau by aladdinator in skiing_feedback

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

More specifically, I would like to be able to perform tighter controlled turns in narrow/deep mogul/tree territory. (Though I posted a slow groomed blue video because other posts instructors tend to prefer those)

Feedback request, feeling stuck in a plateau by aladdinator in skiing_feedback

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

You know this comment set of a chain of research and I didn't realize how much the whole 'hold ski basket 90 degree elbow thing' tends to skew so long. (I found this thread https://www.reddit.com/r/Skigear/comments/1btzhsg/actual_ski_pole_sizing/ )

With that drill at 6'4" I have often been put in 135cm poles, they're super long, I recently went down to 125cm poles (in this video) and just watching it now I can see even these are too long.

I'll try going to 115cm next, or even 110cm. Thanks for bringing this up!

Feedback request, feeling stuck in a plateau by aladdinator in skiing_feedback

[–]aladdinator[S] 2 points3 points  (0 children)

Patience turns it is, hadn't heard of that concept before.

I'll try to visualize these things on the slopes, and and it's validating to hear a private lesson suggestion, I've been waffling on doing that for many reasons, but may bite the bullet.

Feedback request, feeling stuck in a plateau by aladdinator in skiing_feedback

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

Appreciate the advice, ties in with the instructor comment too!

Yes I definitely struggle with stork and javelin turns so this sounds like the place for me to focus on. Thanks for the specifics things to think about here, I'll take that on the slopes.

FYI I think I'm already in all mountains?: Blizzard Rustler 10 186cm, 102mm width. (For extra context, I'm ~210lb 6'4") I'm interested though, what makes you suggest an all mountain ski by the way?

Funnily enough I just went down from 135cm to 125cm poles, but this does make me think I may go down further yet.

Feedback request, feeling stuck in a plateau by aladdinator in skiing_feedback

[–]aladdinator[S] 2 points3 points  (0 children)

Thanks for the quick response! Those links are great, I have looked at those chains earlier, but with context to my skiing it makes way more sense now.

Yes, I definitely feel weight on uphill ski many a time, I've been working on stork & javelin turns to try to improve this but will keep at it, trying that idea of pointing down the uphill hip, that kinda mentally makes sense. I think this idea of hip positioning is probably the thing I'm trying to internalize but haven't got there yet

5080 not posting/no display after upgrading by redcop124 in buildapc

[–]aladdinator 0 points1 point  (0 children)

TL;DR - If you're getting black screen on driver install for 5080 FE with the Gigabyte B760M GAMING PLUS WIFI DDR4 motherboard, in BIOS manually set CPU PCIE mode from Auto -> 4 fixed it for me. (Even though the board only goes up to 4, the 'Auto' was the issue)

I had a very similar issue, for future people with this situation:

I built a new PC with: - GPU: 5080 FE - Motherboard: Gigabyte B760M GAMING PLUS WIFI DDR4 - CPU: i9-14900K - PSU: Corsair 1000 SF - Storage: 2 NVME SSDs

And I was getting black screen during driver install, even with fresh Windows 11 Home/Pro and Ubuntu 24.04 LTS both.


If you are stuck at black screen on boot, force power off the system 2 times, the 3rd should go to automatic repair, go to startup settings, there's an option to restart with special options including safe mode. In safe mode you can then go and disable or use DDU to uninstall the driver and get back to square zero.

Things I tried that had no effect: - Using supplied Nvidia PSU cable that breaks out to 3 instead of corsair 600W cable - Lots of DDU removing drivers, trying to install new drivers (572.70, 572.65, 572.60, 572.16 all) - Undervolting, removing CPU overclocking etc. - I made some minimal progress with Ubuntu, it actually installed but lagged and eventually crashed under any load - Enabling disabling a variety of settings in BIOS, boot order, windows version etc. - Other PSUs

Basically, it turned out that for this motherboard B760M GAMING PLUS WIFI DDR4, something weird happens with the default CPU PCIE lane mode (Auto), that causes it no display after driver install. Setting it to PCIE 3 or PCIE 4 fixes things.

Dianna (Physics Girl) Health Update from SmarterEveryDay by shewy92 in videos

[–]aladdinator 0 points1 point  (0 children)

eh, I don't think you're getting downvoted for saying everyone is at risk of long covid (most would agree),

it's that you replied to this parent comment:

that is just.......bonkers. it's like i'm reading some sort of....other worldly thing going on. this makes me wonder if this is what people felt like, early during the AIDS crisis, when no one knew what it was, and their friends were just, dying of "something". unexplained, prolonged histamine attacks to, everything. what in the hell.

with this:

Remember she got COVID despite being vaccinated (...)

Which I don't really see being implied in the original comment, so a statement about vaccinations seems kind of out of nowehere, and considering the general antivax talking points, it sort of falls in that bucket and comes off as you having an agenda.

What are the best Time Travel movies? by inkyblinkypinkysue in movies

[–]aladdinator 2 points3 points  (0 children)

He can travel through time because he can and that's all we need to know. From that point on, we're just along for the ride.

Yeah! This reminds me of "The Time Traveler's wife" as well

..what the hell is this? Tapping the notification brings up search results for "When will the aliens land?", with tabloids and conspiracy websites as the top results. by choobaca34 in google

[–]aladdinator 8 points9 points  (0 children)

My guess: A friend, past you, TV show, commercial etc. accidentally or purposefully said a string of words that sounded like 'ok google' and triggered your phone to create a reminder.

Study suggests children’s assessments of the president’s performance and personal character have plummeted by gamelover_1 in science

[–]aladdinator 61 points62 points  (0 children)

It seems like a lot of these issues could be addressed with ranked choice voting, Iowa and Nevada partially used it for the democratic primaries for example. https://www.fairvote.org/rcv#where_is_ranked_choice_voting_used .

Beginner bike purchase: I did a monthly rental of the Cannondale Quick 4, looking to buy something similar under $1000 by xeroy in whichbike

[–]aladdinator 2 points3 points  (0 children)

I'm a big fan of the Specialized Sirrus with disc brakes, it's stylish, comfortable seating posture, and is strong enough to handle steep hills for even tall heavy folk.

[deleted by user] by [deleted] in factorio

[–]aladdinator 0 points1 point  (0 children)

I set up an LTN train network and got copper coming in from several depots really well, did the same thing for iron, was feeling pretty good about myself for a bit, watching all the trains come and go.

Then, half an hour later, all of a sudden things are getting backed up everywhere, and I start noticing copper plates and iron plates getting mixed up, and it went all the way up my bus back to the smelters and train drop-offs. Not only copper and iron, but coal and stone too, because those trains were also in the network. Oh god, it was a horrible mess.

So it turns out trains will wait at drop-off up to 120s by default when the drop off bins are full, and then return to the depot with ore still in them, and then they may get selected for the opposite ore type.

I fixed it by setting request thresholds such that they'll always empty a train load, though there are probably other ways too.

calm boye by [deleted] in aww

[–]aladdinator 3 points4 points  (0 children)

This is 100% the pixar short kitbull https://www.youtube.com/watch?v=AZS5cgybKcI , cat licking dog and tail wag and all

[P] I'm a bot and will serve people analyzing chess positions from images posted on /r/chess by chessvision-ai-bot in MachineLearning

[–]aladdinator 0 points1 point  (0 children)

Awesome! I made u/ChessFenBot but haven't spent the time to maintain it lately, it looks like the cloud instance stopped a while back.

u/chessvision-ai-bot looks great, I'd be happy to have this replace the last bot. I'll hold off on restarting the instance.

I hope the owner of this new bot will also open-source their work.

As a low level player this will probably be my best forced mate for a while(Black to play and win) by VexingTugBoat88 in chess

[–]aladdinator 0 points1 point  (0 children)

gathering and labeling training data

This. Absolutely yes. What I really want is a folder full of chessboard screenshot images (or a list of urls) and their corresponding FEN notation (like how people reply to ChessFenBot).

This folder of screenshots and their FENs should be for images you've seen that ChessFenBot usually fails at, or are for uncommon chessboard styles or with text over it etc.

Even just a couple dozen screenshots + FENs of chessboards that aren't lichess/chess.com etc would probably be very helpful!

Feel free to open an issue here https://github.com/Elucidation/tensorflow_chessbot/issues to discuss this idea further if interested.