Questions tagged [image-generation]

111 questions
2
votes
1 answer

Create thumbnail image for PDF in Android

I'm looking for a Java library that can take a PDF and create a thumbnail image (PNG) from the first page in an Android Mobile Device. I found this Create thumbnail image for PDF in Java but this will not work for android as it is dependent on…
Rohit
  • 647
  • 14
  • 30
2
votes
1 answer

Suggestions on generating abstract little images like StackOverflow 'flair' image

I'm creating a webapp that has various unrelated data types (House, Contact, Article, Recipe, Fact -etc). I am giving each one a 'thumbnail' automaticaly. (User can then manually upload there own image). Currently, I'm grabbing an image from Flikr,…
CM
2
votes
2 answers

AVAssetImageGenerator giving error while trying to generateCGImagesAsynchronouslyForTimes

I'm trying to display a movie thumbnail in an button for user to see before they upload it. I'm using AVAssetImageGenerator. Here the code: AVURLAsset *asset=[[AVURLAsset alloc] initWithURL:[NSURL URLWithString:moviePath]…
Kwame
  • 1,115
  • 2
  • 21
  • 38
1
vote
1 answer

UInt16[] to EMGU image in C#

I have an UInt16 array representing an image and width/height for it, and I would like to turn this into an EMGU image in the least painful way possible. EMGU has an Image constructor that looks promising, which is described here. But I can't…
Mårten
  • 231
  • 2
  • 14
1
vote
0 answers

Alternative to imagemagick for text image creation

I have built a photoshop like program that uses ImageMagick (command line on linux) to do most of it's backend processing. Unfortunately, I am just not happy with ImageMagick's text options. ImageMagick's Text Guru actually recommends using TeX for…
trex005
  • 5,015
  • 4
  • 28
  • 41
1
vote
1 answer

I made discord image generator bot, there are no errors so I typed node image-generate.js but no response

This is the code from https://www.youtube.com/watch?v=k6gdwbLqD7I, The code is for making Image Generator Discord Bot, I downloaded all things required. I copied the code just only for me, and I typed node image-generate.js on the terminal but it…
1
vote
1 answer

Fill an image with a svg icon with Pillow in Python

I am trying to get a svg icon using svg2rlg, creating a white image with pillow, using a loop to get a position in the image to paste the icon, check if it is too close to any icon pasted in the past and then pasting it. My wish was that there was…
1
vote
1 answer

Is 128-bit md5 do full mapping for 128-bit binary set?

I'm writing a utility to convert md5 (or sha1) digest to a distinguishable image, something like ssh-keygen -lv. Usually, similar messages can have digests very different, but hackers can modify the message bit by bit to try to get a similar but…
Lenik
  • 13,946
  • 17
  • 75
  • 103
1
vote
0 answers

When i generating and saving images the texts in the images are turns to squares in node js

when i'm generating qr images using easyqrcodejs-nodejs and save it in the azure storage texts in the image turns to squares. why is this happens? i used pdfkit and jspdf as the pdf generator. this also happens when i generating and saving the pdf…
binura
  • 21
  • 4
1
vote
1 answer

How to save multiple images into one pickle file? and pickle file contain image data (pixel info) or just names of image files?

I have a "bird" folder which has 11345 bird images named as 1.jpg, 2.jpg, 3.jpg......11344.jpg, 11345.jpg. I need to save these birds images as "filenames.pickle" to use it in furthur machine learning modules. Data should be arranged in this manner:…
1
vote
1 answer

Check if given coordinates are within letter of a text object

Greeting, wise ones! I am trying to make a generator for pictures like this one. My idea is to make 2 patterns (vertical lines and horizontal lines). After that, I need to make vertical lines only appear "within" the letter but go a bit beyound if…
MeloMan
  • 31
  • 6
1
vote
0 answers

how to decide optimal parameter counts in a WGAN-GP network for image generation

I want to generate 256*256 resolution images in 3 color channels (rgb) using a w-gan with gradient penalty. I have scraped the web and have compiled a dataset of ~2500 images. I used data augmentation (45 degree rotation, flipping) to increase this…
1
vote
1 answer

Image generation using autoencoder vs. variational autoencoder

When we use the convolutional autoencoder for new image generating, does the model generate the same image every time we run the model? or does it rather generate images with random variation? I think that the autoencoder (AE) generates the same…
1
vote
1 answer

Which of the following CNN models are used for which computer vision task?

Is my classification correct? LeNet-5: Image classification, AlexNet: Image classification, VGG-16: Image classification, ResNet: Image classification, Inception module: Image classification, MobileNet: Image classification, EfficientNet: Image…
1
vote
0 answers

Generating 28x28 image using DCGAN

I have a python test code which predefines nz=10, ngf= 64 def test_Generator_shapes(): nz = 10 netG = Generator(nz, ngf=64, nc=1) batch_size = 32 noise = torch.randn(batch_size, nz, 1, 1) out = netG(noise, verbose=True) …