Please add OpenCV to speed up basic cancer research.

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
xxfreshman
User
User
Posts: 17
Joined: Mon Jun 13, 2016 8:22 pm

Please add OpenCV to speed up basic cancer research.

Post by xxfreshman »

Hi,

I love Pure basic, and for a Live Cell Microscope prototype I used it with OpenCV, but now I can't port it to other Systems, i used a Windows version for Pure Basic.
My problem was and is that Pure basic is not able to do Webcams, Video Devices but in Hardware accelerated way for High resolutions, and all that brings the Open Source OpenCV, with AI Support too, like Image recognition in Real-time with Cuda.
Yes after now 6 Years I'm still in Prototype phase (It needs more Money, and I need more time), but the Hardware and the Software is fully working already, but if I could compile it for Raspberry Pi it would go in a better direction. Now a Windows Tablet controls the Microscope, and this is much more expensive than the Prototype :-(. My dream is to give the basic research for cancer a very cheap Instrument, where they can make more experiments at the same Time, because the Hardware is cheap.

It would add so many additional Features to Pure basic amazing :-)

https://opencv.org/

If you want to see what the Microscope can do with a Production cost off 250 USD, here is my link, no offer for selling is there, still a Prototype.

https://wedekind-systems.com/wedekind-microscope

And Pure basic made all this happens, with Threads too, thanks. And maybe in some Years I will revolutionize the basic research with very sheep device.

I was working for 6 years in the Institute of Medical Radiation Biology in a German City, as the Head for IT, with the order to migrate and support the Science Workers with new Ideas and new Software Ideas. To speed up their work, with this came the Idea for an extremely cheap Live Cell Microscope.

Please Integrate OpenCV.

Thx
User avatar
jacdelad
Addict
Addict
Posts: 1992
Joined: Wed Feb 03, 2021 12:46 pm
Location: Riesa

Re: Please add OpenCV to speed up basic cancer research.

Post by jacdelad »

I guess this won't happen, since this is Windows specific and already partly done (see JHPJHPs homepage: https://www.mypurebasicstuff.com/).
Good morning, that's a nice tnetennba!

PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
threedslider
Enthusiast
Enthusiast
Posts: 377
Joined: Sat Feb 12, 2022 7:15 pm

Re: Please add OpenCV to speed up basic cancer research.

Post by threedslider »

+1, yes the OpenCV would be nice to integrate in PB but it will takes a lot of works, if Fred agreed to have done for this stuff :shock:

@jacdelad : I don't see the download from his website for OpenCV ? :? Do you have tested it ?
User avatar
jacdelad
Addict
Addict
Posts: 1992
Joined: Wed Feb 03, 2021 12:46 pm
Location: Riesa

Re: Please add OpenCV to speed up basic cancer research.

Post by jacdelad »

Yes, and you need to pay an obolus for this. Because, lots of work and such. Contact JHPJHP, he's very helpful.
Good morning, that's a nice tnetennba!

PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
infratec
Always Here
Always Here
Posts: 7581
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: Please add OpenCV to speed up basic cancer research.

Post by infratec »

But it will get more difficult in the future:

In the coming version 5.x they removed the C-API

https://github.com/opencv/opencv/wiki/O ... on50-alpha
https://github.com/opencv/opencv/wiki/O ... cv-cleanup

They switch totally to a C++API

As far as I know JHPJHP supported version 2 and 3.
I don't know if he also included version 4 in his wrapper.
User avatar
blueb
Addict
Addict
Posts: 1111
Joined: Sat Apr 26, 2003 2:15 pm
Location: Cuernavaca, Mexico

Re: Please add OpenCV to speed up basic cancer research.

Post by blueb »

xxfreshman wrote: Wed Apr 30, 2025 10:21 pm ....
Now a Windows Tablet controls the Microscope, and this is much more expensive than the Prototype :-(. My dream is to give the basic research for cancer a very cheap Instrument, where they can make more experiments at the same Time, because the Hardware is cheap.
...
I bought a 'refurbished' Windows Go tablet on Amazon 3 years ago for about $200 US, and it's still working like a charm. I just checked and they are still available.. so I doubt that a Raspberry system will be that much cheaper.
I've also purchased a 7" and an 8" Windows tablets from eBay at substantially less than that... both are great little machines. :D
- It was too lonely at the top.

System : PB 6.21(x64) and Win 11 Pro (x64)
Hardware: AMD Ryzen 9 5900X w/64 gigs Ram, AMD RX 6950 XT Graphics w/16gigs Mem
User avatar
JHPJHP
Addict
Addict
Posts: 2251
Joined: Sat Oct 09, 2010 3:47 am

Re: Please add OpenCV to speed up basic cancer research.

Post by JHPJHP »

Just seeing this now...

If there is still interest, send me a PM and I'll provide a download link.

My website and forum, while still online have been shut down for the better part of a year.

When time permits, I'll reopen my website for downloading; no obolus required :)

If you're not investing in yourself, you're falling behind.

My PureBasic StuffFREE STUFF, Scripts & Programs.
My PureBasic Forum ➤ Questions, Requests & Comments.
User avatar
skywalk
Addict
Addict
Posts: 4211
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: Please add OpenCV to speed up basic cancer research.

Post by skywalk »

Very generous. 8)
Bummer about dropping C.
Do you plan to carry on with the latest versions being C++ only?
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
User avatar
JHPJHP
Addict
Addict
Posts: 2251
Joined: Sat Oct 09, 2010 3:47 am

Re: Please add OpenCV to speed up basic cancer research.

Post by JHPJHP »

Hi skywalk,

I only went as far as versions 2.4.13.6 and 3.4.1 (world build).

I don't have any plans with OpenCV beside using the current framework for some fun future projects.

For me it's still very relevant, and the basic framework is as powerful as it ever was.

If you're not investing in yourself, you're falling behind.

My PureBasic StuffFREE STUFF, Scripts & Programs.
My PureBasic Forum ➤ Questions, Requests & Comments.
User avatar
skywalk
Addict
Addict
Posts: 4211
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: Please add OpenCV to speed up basic cancer research.

Post by skywalk »

Yes, I agree. The tesseract OCR functionality is of interest to me.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
User avatar
JHPJHP
Addict
Addict
Posts: 2251
Joined: Sat Oct 09, 2010 3:47 am

Re: Please add OpenCV to speed up basic cancer research.

Post by JHPJHP »

Hi skywalk,

Let me know if I can be of any help, even if that's only a link to some downloads.

Note: Over the years there have been various updates to numerous examples.

If you're not investing in yourself, you're falling behind.

My PureBasic StuffFREE STUFF, Scripts & Programs.
My PureBasic Forum ➤ Questions, Requests & Comments.
User avatar
skywalk
Addict
Addict
Posts: 4211
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: Please add OpenCV to speed up basic cancer research.

Post by skywalk »

Thanks, I will.
You are quite prolific!
And I learned a new word from you. :)
Obolus is such a gem, I never came across till now.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
User avatar
JHPJHP
Addict
Addict
Posts: 2251
Joined: Sat Oct 09, 2010 3:47 am

Re: Please add OpenCV to speed up basic cancer research.

Post by JHPJHP »

Hi skywalk,

I'd like to take credit for using Obolus but I was only parroting a post from jacdelad...

... speaking of which:
jacdelad wrote:I guess this won't happen, since this is Windows specific and already partly done...
OpenCV is multiplatform and the latest release is 4.11.0.

PB Interface to OpenCV: v2.4.13.6
• All available API functions were interfaced for the following supported platforms: Windows, Linux and MacOS.

To give credit where credit is due:
AAT was instrumental with the Windows conversion and wilbert was instrumental with the Linux and MacOS conversions.

If you're not investing in yourself, you're falling behind.

My PureBasic StuffFREE STUFF, Scripts & Programs.
My PureBasic Forum ➤ Questions, Requests & Comments.
User avatar
jacdelad
Addict
Addict
Posts: 1992
Joined: Wed Feb 03, 2021 12:46 pm
Location: Riesa

Re: Please add OpenCV to speed up basic cancer research.

Post by jacdelad »

Oh, didn't know.
Good morning, that's a nice tnetennba!

PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
AAT
Enthusiast
Enthusiast
Posts: 259
Joined: Sun Jun 15, 2008 3:13 am
Location: Russia

Re: Please add OpenCV to speed up basic cancer research.

Post by AAT »

Hi, JHPJHP.
I can't send you a PM. How do I do this?
Post Reply