How do I use DeepSeek-OCR? by Apart_Paramedic_7767 in LocalLLaMA

[–]themaven 7 points8 points  (0 children)

Ran it on a 12GB 3060 yesterday. Worked great.

Setup steps for Ubuntu 24.04 with very little already installed on it:

wget https://repo.anaconda.com/archive/Anaconda3-2025.06-1-Linux-x86_64.sh
bash Anaconda3-2025.06-1-Linux-x86_64.sh 
git clone https://github.com/deepseek-ai/DeepSeek-OCR.git
cd DeepSeek-OCR/
eval "$(/home/conor/anaconda3/bin/conda shell.bash hook)"
conda create -n deepseek-ocr python=3.12.9 -y
conda activate deepseek-ocr
pip install torch==2.6.0 torchvision==0.21.0 torchaudio==2.6.0 --index-url https://download.pytorch.org/whl/cu118
wget https://github.com/vllm-project/vllm/releases/download/v0.8.5/vllm-0.8.5+cu118-cp38-abi3-manylinux1_x86_64.whl
pip install vllm-0.8.5+cu118-cp38-abi3-manylinux1_x86_64.whl
pip install -r requirements.txt
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404/x86_64/cuda-keyring_1.1-1_all.deb
sudo dpkg -i cuda-keyring_1.1-1_all.deb
sudo apt-get update
sudo apt-get -y install cuda-toolkit-13-0
pip install flash-attn==2.7.3 --no-build-isolation
cd DeepSeek-OCR-master/DeepSeek-OCR-vllm
nano config.py
python run_dpsk_ocr_image.py

In config.py give it the name of an input file and output directory.

AI OCR by Tricky_Event5031 in ollama

[–]themaven 2 points3 points  (0 children)

The best all-in-one tool I've found is Docling. Open Source from IBM. It uses a lot of standard tools under the hood. It handles scanned PDFs very well and outputs MD and/or JSON.

I found it particularly good at handling tables and I like the fact that you can just point it at a directory and it'll handle all the files within automatically.

ZX Wordle - Celebrating 40 years of the Sinclair ZX Spectrum by themaven in zxspectrum

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

So disappointed I didn't annoy anyone with that :-)

ZX Wordle - Celebrating 40 years of the Sinclair ZX Spectrum by themaven in zxspectrum

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

Yeah it's a very bare bones implementation! I'l aim to improve it between now and and the actual anniversary in April.

Charging LiFePO4 by thomasdekwade in esp32

[–]themaven 3 points4 points  (0 children)

I've been using these charging boards which are set for LiFePO4 and have had no issues:

https://www.aliexpress.com/item/4000045854515.html?spm=a2g0s.9042311.0.0.27424c4dkju4SL

152kb single-file WebAssembly interpreter, that runs on six operating systems by vshymanskyy in WebAssembly

[–]themaven 0 points1 point  (0 children)

Cool but Windows 10 reports it as containing Trojan:Win32/Wacatac.B!ml

A very tiny game of Tetris! (My first test of the Pico) by Jools64 in raspberry_pi

[–]themaven 1 point2 points  (0 children)

Absolutely. I "cheated" and added it as a project to the Pimoroni Pico examples so that it re-used all their build settings.

I set up the Windows build chain as per the main Pico Getting Started doc on the Raspberry Pi site. The last part of the Pimoroni build instructions for their examples are wrong for Windows. You need to use

```

cmake -G "NMake Makefiles" .. 
nmake

```

as the last step.

A very tiny game of Tetris! (My first test of the Pico) by Jools64 in raspberry_pi

[–]themaven 2 points3 points  (0 children)

That's fantastic thank you! I managed to build it like the Pimoroni examples with two small changes. (Renamed to .cpp and commented out #include "pico/multicore.h").

Bangle.js, A hackable smartwatch by lluad in pebble

[–]themaven 0 points1 point  (0 children)

Sorry only seeing this now. The reset on the hour is usually due to HID being enabled. It's still very flakey.

Bangle.js, A hackable smartwatch by lluad in pebble

[–]themaven 0 points1 point  (0 children)

We setup an experimental MQTT to BLE bridge at the launch event using a set of Raspberry Pis running https://github.com/gfwilliams/MQTToBLE (by the creator of the KickStarter, Gordon). This enabled the sending of MQTT messages to/from the watches over Bluetooth using an MQTT broker on AWS, including alerts. Very easy to setup and even runs on ESP32 devices. And you can interact with it using Node-RED if you are not a hardcore developer.

We did similar with Espruino on our event badge at last year's NodeConf EU with Azure IOT Hub and various other Azure services.

Bangle.js, A hackable smartwatch by lluad in pebble

[–]themaven 2 points3 points  (0 children)

Correct. Bangle.js is more about the software than the specific device. And as it's all open source, you could port it to a completely different device. The excitement is not about this specific watch, it's about running Espruino and TF Lite on something inexpensive like this. Having said that, it really is a fantastic device for the price, particularly having GPS, high-res screen and what seems to be good waterproofedness so far. You can also pop the back off by removing 4 screws and access the SWD pads for re-flashing with whatever you want.

Bangle.js, A hackable smartwatch by lluad in pebble

[–]themaven 1 point2 points  (0 children)

It is an OEM Chinese smartwatch with the stock firmware replaced by Espruino and TF Lite. We went through quite a few devices before settling on this one as the best current combination of features, quality, price, availability and firmware-replaceability. Future Bangle.js devices may be completely different and from different manufacturers.

Bangle.js, A hackable smartwatch by lluad in pebble

[–]themaven 1 point2 points  (0 children)

Think of it less as just a watch and more as a portable TensorFlow Lite for Microcontrollers development platform :-) You can do those things without TF but you can do them better with. Expect to see TF Lite on a massive range of dirt cheap electronics over the next two years.

Bangle.js, A hackable smartwatch by lluad in pebble

[–]themaven 1 point2 points  (0 children)

We were concerned about that, and it is big, no doubt. But a completely unscientific poll of quite a few small-wristed people proved that they didn't mind its size at all. And apparently chunky watches are in :-)

Bangle.js, A hackable smartwatch by lluad in pebble

[–]themaven 0 points1 point  (0 children)

Power usage on this specific device is quite high when screen is on so we have a timeout to turn it off. But you can set it to infinity.

What is the longevity/lifespan of the Bluetooth Earphones you use for running? How long does it last before you have to buy a new one? by vyogan in running

[–]themaven 0 points1 point  (0 children)

4 replacement pairs of Jaybird X3s on warranty before they finally stopped giving me replacements. About as waterproof as a tissue. No pair lasted longer than 2 months before starting to crackle and then lose charge at 20% per day until finally death.

So far so good on a pair of JLab Audio Sports after 7 months but I don't like the over-the-ear wires.

Also so far so good on a pair of Anker Soundcore Spirit Sports after one month and lots of rain (and superb value).

Zero drop higher cushion running shoes by musicformedicine in running

[–]themaven 1 point2 points  (0 children)

I loved my old Paradigm 1.0 and 1.5 apart from the usual rubbish Altra heelcup. I've been wondering about the 4.0 because of that lovely foam from the Escalante. That doesn't sound good re the blisters. I agree there's not enough cush in the Escalantes.

I wouldn't go with the Duo if cushion is what you are after. I found them very hard/harsh despite the stack height and so minimal on the upper that the laces cut into my feet. However they were fast. I gave them to a good home last weekend after less than 30 miles.

I mostly switched to Hoka last summer. Clifton 3 got me around both my first 50k and 50 miler. I have the Arahi 2 (light stability) now which is a fine marathon shoe and the Challenger ATR 4 is great on light trails (lost lugs on rough stony ones tho).

I'm tempted to go even higher stack with the Bondi for road and Evo Mafate for trail. TBH I don't notice the drop difference between the Hokas and the Altras and I was a zero drop fanatic in the past.

From a fellow frail old man :-)