ch00f

joined 2 years ago
[–] ch00f@lemmy.world 2 points 2 hours ago

I think I spoke too soon when I said the text didn't have a background or was otherwise clean.. SubtitleEdit always shows it on a white background, but looks like the text itself actually has a white border which I'm sure is confusing the OCR. See my other comment for examples.

I'm going to start by seeing if I can clean up the text, and if not, I'll look into huggingface and whatnot. Thanks for the tips.

[–] ch00f@lemmy.world 1 points 2 hours ago

Found out that pgs-to-srt can export images, so you can see what it's looking at.

Starting to make sense why it's so bad. Wonder if I can add a preprocessor to do something like this:

[–] ch00f@lemmy.world 3 points 3 hours ago (2 children)

That's the thing. There isn't a background. The PGS layer is separate which is why it's so surprising the error rate is so high.

 

I'm working on trying to streamline the process of ripping my blu-ray collection. The biggest bottlneck in this process has always been dealing with subtitles and converting from image-based PGS to textbased SRT. I usually use SubtitleEdit which does okay with occasional mistakes. My understanding is that it combines Tesseract with a decent library to correct errors.

I'm trying to find something that works in the command line and found pgs-to-srt. It also uses Tesseract, but it appears without the library, the results are...not good:

Here's the first two minutes of Love, Actually:

00:01:13,991 --> 00:01:16,368
DAVID: Whenever | get gloomy
with the state of the world,

2
00:01:16,451 --> 00:01:19,830
| think about
the arrivals gate
alt [Heathrow airport.

3
00:01:20,38 --> 00:01:21,415
General opinion
Started {to make oul

This is just OCR of plain text on a transparent background. How is it this bad? This is using the Tesseract "best" training data.

[–] ch00f@lemmy.world 2 points 6 hours ago

Yeah the temporary unfreeze was what wasn’t working and it was holding up my credit union.

[–] ch00f@lemmy.world 2 points 13 hours ago (2 children)

It wasn’t money to unfreeze. It was money to re-freeze after.

[–] ch00f@lemmy.world 5 points 15 hours ago (2 children)

I’ve been running plex for a few years no. No real issues to complain of.

Until today. I just upgraded my server with an Intel ARC. Was looking forward to enabling qsv for streaming. Turns out you need plex pass to do that.

Can jellyfin do it?

[–] ch00f@lemmy.world 4 points 16 hours ago (5 children)

I froze three and was given a code to unlock them temporarily (or something this was like 8 years ago).

Gave the code to my bank when applying for a home loan. It didn’t work. Ended up just unfreezing so they could do their job.

Costs like $12 every time you want to freeze. It’s a racket.

[–] ch00f@lemmy.world 89 points 22 hours ago (3 children)

PSA: Download all your kindle books. Even if you don't plan on cracking their DRM, you'll have the option to in the future should you want to.

[–] ch00f@lemmy.world 1 points 1 day ago* (last edited 1 day ago) (1 children)

A car loses its value when you drive it off the lot because it’s a depreciating asset. That money doesn’t go to the bank or the owner. It just vanishes.

Besides, if your partner only helped pay the interest portion of the auto loan (which is what I’m proposing), the depreciating value of the car would be fully felt by you when you sell the car. They would just be out a few months of interest regardless of the sustained value of the car.

Homes typically increase in value or at least hold value. When you sell your home, you won’t get back any of the money you gave to the bank as interest, but in theory everything else including your down payment will be returned to you.

So to me it makes sense that while a partner is living with you and if they are committed to helping pay for utilities and whatnot, they can also contribute to the cost of living at the home. I believe helping to pay the interest is a fair and equitable way to do that.

I mean when you’re renting a place you’re more than likely helping the owner pay off their loan anyway. It’s just another step removed.

[–] ch00f@lemmy.world 7 points 1 day ago

Even LEGO sets are getting EVSE. Octan has diversified into electric with the OctanE brand.

https://www.lego.com/en-us/product/racing-cars-60256

[–] ch00f@lemmy.world 27 points 2 days ago (1 children)

Migrating a 8 year old server to fresh new hardware. Can't believe you can basically just rsync one computer to another

[–] ch00f@lemmy.world 3 points 2 days ago

Kiss cat

Spoilers!

 

Upgrading a server for the first time in 10 years, so I’m a little out of the loop. I was surprised to find that the RAM I bought didn’t fit.

This is my first time dabbling in ECC RAM, so I figured there was some minor detail I missed when purchasing, but I eventually came across the data sheet for this stick, and the dimensions given don’t match the measurements I’m making. The tip of the caliper should be in the middle of the notch at 68.1mm.

What’s more is that the dimensions in the data sheet seem to match the dimensions on my motherboard. What’s going on here?

[SOLVED] I and Kingston are morons. I ordered RDIMM instead of UDIMM. The Kingston datasheet gives the wrong dimensions.

 

I hate the cloud.

 

This requires either multiple trips or a quick view theough your gadget into the new future.

 

Since 2016, I've had a fileserver mostly just for backups. System is on 1 drive, RAID6 for files, and semi-annual cold backup.

I was playing with Photoprism, and their docs say "we recommend placing the storage folder on a local SSD drive for best performance." In this case, the storage folder holds basically everything but the pictures themselves such as the database files.

Up until now, if I lost any database files, it was just a matter of rebuilding them by re-indexing my photos or whatever, but I'm looking for something more robust since I'll have some friends/family using Pixelfed, Matrix, etc.

So my question is: Is it a valid strategy to keep database files on the SSD with some kind of nightly backup to RAID, or should I just store the whole lot on the RAID from the get go? Or does it even matter if all of these databases can fit in RAM anyway?

edit: I'm just now learning of ZFS caching which might be my answer.

 

I’m working on driving a very finicky lcd. I have it working now with an FPGA dev kit. I had to use an FPGA because some of the timing requirements are in the tens of nanoseconds.

At the end of the day, I wrote a block for a one shot/continuous clock with a programmable duty cycle and initial delay. This block was repeated six times for the various clocks with their specific values.

Moving to the final product, this feels like overkill. In the past, I’ve managed to make this kind of thing work with a Rube Goldberg collection of on-board timer/counters on the microcontroller.

I’d like to avoid that mess this time around. If I can generate the clocks externally, I can have the host MCU send the data quickly using DMA.

An FPGA works great, but they’re expensive and there’s the issue of licensing for FPGA and and CPLD software.

I’ve seen this problem solved with a lookup table, but there aren’t a lot of cheap/small rom/ram options for what I’m trying to do.

Basically, what I’m asking is is there a component that can be easily programmed to generate a number of clocks, doesn’t need any costly software licensing, and comes in a very small package? (Like wlcsp)

 

Just finished 12 Minutes and Indika with my wife. Enjoyed the tight 5-ish hour gameplay with decent not-too-challenging puzzles and great story.

Basically 5-hour date night that’s more engaging than a movie.

Any other games that you can recommend in this category?

 

Given the amount of pull individual influencers have managed to amass over the last decade, it looks like the original 1985 prediction aged better than this 2009 rebuttal.

 

Back in my day, you could usually sip a few mA from a USB2 port without any trouble.

When I try that now, Windows pops up with a “device not recognized” error. I know you can draw up to 150mA before enumeration, but it looks like after some time, Windows will complain that you haven’t enumerated yet.

Is there an easy way to keep from getting this error without having to actually make the device smart?

I’m hoping for something dumb along the lines of USB-PD but facing the other direction. For the record, it has to work on a USB-A port, so USB-C hacks won’t work.

 

Just curious because I don’t see people talk about it a lot.

 

Like why do I feel like I’m supposed to be able to name the seven boroughs? I can’t tell you anything about L.A., Chicago, Boston, etc.

Edit: to clarify: I mean that everyone in America are expected to know NYC. Not just New Yorkers. Obviously everyone should know the layout of where they live.

view more: next ›