Extract Tabular Data from PDF Images using Hugging Face Table Transformer Programming Computer Science by usmanmalik57 In a previous article, I explained [how to extract tabular data from PDF image documents using Multimodal Google Gemini Pro](https://www.daniweb.com/programming/computer-science/tutorials/541449/pdf-image-table-extractor-web-app-with-google-gemini-pro-and-streamlit#post2296083). However, there are a couple of disadvantages with Google Gemini Pro. … Re: sdl_ttf not working Programming Software Development by Sturm [quote] Are you sure you have the SDL TTF runtime libraries installed properly? [/quote] Apt-get says that I have the following packages installed that relate to ttf: [code] libfreetype6, libsdl-ttf2.0-0, libsdl-ttf2.0-dev, libttf2, and libttf-dev [/code] The strange thing is I have compiled The Battle for Wesnoth, Sauerbraten, and Action Cubers … Re: sdl_ttf not working Programming Software Development by John A Are you sure you have the SDL TTF runtime libraries installed properly? The code looks fine at first glance, but I don't really have time to run this code on my system right now, so I might in a few hours. Re: SDL pointers - (General Question) Programming Software Development by mike_2000_17 SDL is written in C, so I very much doubt that anything is derived from anything since inheritance in not possible in C. And, yes, SDL_surface is a structure, here is [URL="http://sdl.beuc.net/sdl.wiki/SDL_Surface"]the doc[/URL]. Very often (but not always), you should treat SDL_surface pointers and any other pointers from SDL as "… Re: Using .TTF Files (True Type Font) Digital Media UI / UX Design by JasonHippy .ttf files are basically just fonts. In order to be able to use them, what you need to do is install the font on your system and then you should be able to use the font in any application that uses system fonts to display text, be they office/openoffice applications or desktop publishing/graphics applications (word, photoshop, flash..whatever!)… Re: C GPL's Programming Game Development by gusano79 SDL and Allegro aim to provide a more or less complete game programming library, but you might also consider combining several separate libraries that focus on smaller areas--especially if the general-purpose libraries don't quite do what you want. A loose assortment of links to get you thinking: [Chipmunk](http://chipmunk-physics.net/), [GLFW](… Re: Word Association Game Community Center Geeks' Lounge by Dani ttf --> daniweb Re: Chess Program Programming Software Development by krnekhelesh SDL seems to be good. I saw their website. Re: Is there a way to run two or more functions in C++? (For a game in console mode) Programming Software Development by Salem SDL = [url]http://www.libsdl.org/[/url] But before you get bogged down in specific APIs, I would suggest you get familiar with the core language. Re: How to create an MP3 player. Programming Software Development by marco93 SDL is totally useless, as MP3 is native in Win32. See MSDN samples to play MP3. (3 lines of code with mci...) Re: C pointer Programming Software Development by manutm SDL is mainly for game development (and sometimes for other multimedia stuff as well) and is quite popular I think. Now, it depends on what kind of job you are looking for... If you are interested in making applications with GUI under Linux, I think GTK is very good. For 3D stuff, OpenGL is probably a "must-known", etc... error C2679 SDL TTF using SDL * surface.... Programming Software Development by thriek Hey everyone, needing a little hand... i'm using the SDL on windows and all the right libraries are installed correctly, I know this because all my other functions that need these libraries worked and still do, but my SDL_Surface* pFontSurface; variable my print text method creates a compile error. ~The error states that i … Re: error C2679 SDL TTF using SDL * surface.... Programming Software Development by thriek The problem is in the printText() method [CODE] #ifndef __SDLCANVAS_H_ #define __SDLCANVAS_H_ #include "STDAFX.h" extern enum textquality {solid, shaded, blended}; /** This object is used as an attempt to encapsulate the more common * tasks or operations when working with graphics */ class SDLCanvas { protected: SDL_Surface* pSurface… SDL on Mac Image Displaying Hardware and Software Microsoft Windows by epicbeast9022 Hi, I'm trying to make a pong game on Xcode 3.2 with SDL but nothing displays, just a black window. Codes: [CODE]#include "includes.h" #include "constants.h" #include "functions.h" int pscore=0,cscore=0,ppaddle=185,cpaddle=185,ballSpeed = 0,cpuPadSpd = 0,frame = 0; SDL_Surface *screen=NULL,*secondary=NULL,*… SDL image help Programming Software Development by epicbeast9022 #include "includes.h" #include "constants.h" #include "functions.h" int pscore=0,cscore=0,ppaddle=185,cpaddle=185,ballSpeed = 0,cpuPadSpd = 0,frame = 0; SDL_Surface *screen=NULL,*secondary=NULL,*playerscore=NULL,*cpuscore=NULL,*cpuwin=NULL,*playerwin=NULL; bool gameEnded = false,selectedDiff=false;… Re: SDL - Hide Console Programming Software Development by Labdabeta The issue is that it isn't a project. I tend to make my own projects because they are slightly smaller in size and easier to run. All I have is an executable in the same folder as a bunch of resources (images, sounds, headers). Is there any way to do this from within the .cpp so that the .exe hides the executable on its own? Here is the folder (I … SDL how to switch back to console Programming Software Development by thriek Hey, im in need of a little help... im trying to have my .exe show an image with sdl, wait 2500 milliseconds, close the image and then return to the black console screen with my cout statments and whatnot appearing. But instead when i exit sdl, the whole program exits. is there any way to correct this? Here's my source code: [CODE]… Re: SDL how to switch back to console Programming Software Development by thriek [QUOTE=mitrmkar;1191569]I don't know much about SDL programs' behaviour and possibilities, but I noticed that you do a [ICODE]exit(0);[/ICODE] there (line #50). In practice, no code that you have below that line will get executed, see [URL="http://www.cplusplus.com/reference/clibrary/cstdlib/exit/"]exit()[/URL]. Perhaps you should find… Re: SDL how to switch back to console Programming Software Development by mitrmkar I don't know much about SDL programs' behaviour and possibilities, but I noticed that you do a [ICODE]exit(0);[/ICODE] there (line #50). In practice, no code that you have below that line will get executed, see [URL="http://www.cplusplus.com/reference/clibrary/cstdlib/exit/"]exit()[/URL]. Perhaps you should find a SDL forum for SDL-… Re: SDL - Hide Console Programming Software Development by Labdabeta …" #include "SDL\SDL_image.h" #include "SDL\SDL_ttf.h" #include "SDL\SDL_mixer.h" #include "… Re: SDL how to switch back to console Programming Software Development by thriek [QUOTE=Ancient Dragon;1191024]Very few, if any, members here know what those SDL functions are. Is that a library of some kind? If it is, post the link to it.[/QUOTE] Do you mean is SDL a library of some kind? Yes it is, and the link is: [URL="http://www.libsdl.org"]www.libsdl.org[/URL] SDL with OpenGL - Drawing problem Programming Software Development by OpenSDL Hi! I have a problem with SDL and OpenGL. I wrote a code to convert SDL Surfaces to OpenGL textures. Now I have a function to Draw a rect(with opengl) on a SDL_Surface. That's the code to draw a rect: [CODE] void DrawRect(SDL_Rect *rect, GLuint texture) { float x = rect->x; float y = rect->y; float w = rect->w;… sdl linker error Programming Software Development by Marcusflint Hi, Im new to SDL, when i compile this example program i got these linker errors first defined here .drectve `/manifestdependency:"type='win32' name='Microsoft.VC90.CRT' version='9.0.21022.8' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'" /DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' … Re: SDL Keystate gives no response Programming Game Development by sfuo When I used SDL for graphics I don't ever remember using SDL_GetKeyState(); however, it could have been just a preference that the writer turtorials I followed had. My suggestion (it might not be the best option) is to create your own bool array to manage the key states. You can do this by calling SDL_PollEvent() and when SDL_KEYDOWN/UP is called… SDL program just exits (sdl_draw) Programming Software Development by ysmtek *Hello people of the DaniWebs! It's been a long time since I've been talking and asking here, under the name of **katmai539**. I've lost account information and also the email address linked to it. I haven't been active in the software development-branch for the past few years but recently I decided to pick up the old habit of coding some stuff, … SDL Tutorials Programming Software Development by Tycellent Hey everyone, In addition to... Lazy Foo's Tutorial http://lazyfoo.net/tutorials/SDL/index.php "SDL Game Development" - Shaun Mitchell book are there any other recommended resources (does not have to be SDL) people could suggest? I've already created a console-based text adventure game and am really interested in expanding it into a … Re: SDL how to switch back to console Programming Software Development by Ancient Dragon Very few, if any, members here know what those SDL functions are. Is that a library of some kind? If it is, post the link to it. Re: SDL how to switch back to console Programming Software Development by mrnutty You will have to work with the graphical window, because once you exit the sdl window, it automatically closes the console window as well. You might be able to get around this by using win32 but thats another language you will have to learn. Re: SDL with OpenGL - Drawing problem Programming Software Development by mike_2000_17 >>How can I draw the quad to a SDL_Surface or a GLuint(texture), so I can combine them later? I don't know exactly how to do that, but I know it is not the best/easiest way to do it (in fact, it is probably the worst way). What you want to do is render-to-texture. This can be done in OpenGL. Don't use SDL surfaces to do that, OpenGL is far … SDL - Hide Console Programming Software Development by Labdabeta Hello, I have decided to make a timer program on my computer to limit the amount of time that I game. Anyways, I have it working fine with a small borderless window in the top left of the screen that ticks down and when it gets to 0 it sounds an alarm, turns red, and waits for me to click it. The problem is that the console window pops up and …