Questions tagged [loadimage]
179 questions
0
votes
1 answer
Prevent tab image from loading again when button is clicked repeatedly
In a website im making i have a section with tabs that load different images. My problem is that if you click one tab and you click again the image will load again, and i don't want this to happen. Only load again after one of the other tabs it's…

Gaby
- 55
- 3
0
votes
1 answer
str' object has no attribute 'load_img'
I wanted to load all the images from a folder and make predictions on those images
this is what i tried
images = []
folder_path="C:/Users/Harsh/Desktop/Ornithopter/anv/train/images/"
for img in os.listdir(folder_path):
img =…

Harsh Ris
- 11
- 1
- 5
0
votes
0 answers
PICASSO GET() METHOD NOT LOADING IMAGE FROM URL IN ANDROID
I used Picasso Get() method to lad a png file from URL. But the app crashes and does nothing.
I searched in Internet and community and tried the suggestions and recommendations I found. But alas the problem not solved. Please help me.
This the…

user1816193
- 17
- 3
0
votes
2 answers
Keras loaded png appears full black
Png file loaded by Keras appears fully black
I have a set of pngs generated from drawSvg program. They look fine when viewed in a normal image viewer like Paint. But when I load them via keras, the matplotlib imshow shows them fully black.
from…

Yogesh Haribhau Kulkarni
- 455
- 1
- 4
- 18
0
votes
0 answers
List element set as parameter to grayscale() function leads to error
I've loaded images with load.image() function to a list, and when I wanted to add the index from the list as the parameter to a function called grayscale(), I've got the following error:
Error in if (spectrum(im) == 1) { : argument is of length…

Bálint Molnár
- 23
- 1
- 7
0
votes
1 answer
Android Image setImageBitmap not working when using glide load image
I have a problem using Glide load image android.I will present it simply as follows:
First I load image using glide
I want to choose image using Intent.ACTION_PICK but when I using image.setImageBitmap on onActivityResult but it not…

Hoi Nguyen Xuan
- 1
- 1
0
votes
2 answers
How we write raw string in a custom databinding attribute?
I write a custom attribute for load image url like this:
@BindingAdapter("srcCircleUrl")
fun loadCircleImage(view: ImageView, imageUrl: String) {
loadImage(view.context, imageUrl, view, options = circleCropTransform())
}
when I want to set a…

Amir Hossein Ghasemi
- 20,623
- 10
- 57
- 53
0
votes
0 answers
How to solve this python permission error about reading file name
I'm trying to read file name using python3 with keras, tensorflow-gpu.
Code is here.
I omitted some of the code.
imgdir_train = './trainval_Animals/train'
imgdir_test = './trainval_Animals/val'
for eachimg in imgs:
if eachimg[0] ==…

김정화
- 31
- 1
- 1
- 8
0
votes
1 answer
Loading a bmp from resource
I'm trying to load a bitmap from resource instead of a file location. I'm using visual stuidos and I have imported the same bitmap into the rc. The LoadImage returns a NULL when I try with the resource version. Is my syntax wrong? or am I missing…

Terry
- 19
- 3
0
votes
1 answer
Unity - Loading image using www cause all images in application to change
I am pretty new to Unity, so this might be an easy one.
I am trying to load and image from a URL an into an image in my application. In my application I have many different images, but for some reason all the images change to the image loaded from…

Lasse Bickmann
- 133
- 3
- 11
0
votes
1 answer
How to load images for classification problem using Keras
I am working on image classification problem using Keras framework. This is binary classification problem and I have 2 folders training set and test set which contains images of both the classes. I don't have separate folder for each class (say cat…

Chetan Ambi
- 159
- 3
- 9
0
votes
1 answer
jQuery Lazy not loading images after I click the Facebook Connect button
I implemented jQuery Lazy: http://jquery.eisbehr.de/lazy/. Everything works correctly except for one thing: When I click the Facebook Connect button, the images remain blank. After I click around, they come in as usual.
I have noticed that when I…

Jaime Montoya
- 6,915
- 14
- 67
- 103
0
votes
0 answers
How do I run a mogrify script for all images in subfolders in python?
I am trying to load images using opencv in wiki dataset in which the images are organized into 99 folders. I have this code.
def load_images(self,dataframe):
if dataframe is None:
return None
else:
assert…

Samuel Mideksa
- 423
- 8
- 19
0
votes
1 answer
C++ Error when changing the cursor from a resource file
I'm trying to change the cursor of my mouse with a .cur file in a resource file.
When I'm try my code, I get this error:
Exception raised at 0x77EB7392 (ntdll.dll) in CleanResourceFiles.exe: 0xC0000005: Access Violation while reading location…

Lotcelan
- 1
- 1
0
votes
0 answers
I want to load the images dynamically
I want to dynamically bind some images in my folder.
For example. When you click the button, file1.jpg on pictureslibrary is displayed in the first cell of the gridview.
If you click the button again, File 2 will be displayed in the second cell.
I…

Kay
- 173
- 14