Questions tagged as 'imagem'

1
answer

How do I get the main color of an ImageView?

I wanted to know without having to post my code, how to get the main color from a certain point within a ImageView , for example I have a frame and inside that frame has 3 colors, the color on the right is red, the color on the left is blu...
asked by 23.11.2014 / 21:04
2
answers

Database image displayed in primefaces does not appear

I'm implementing a page where I need to display a datagrid with the values of a table in the database. Each row in the table has a blob-like image. But when you try to display the image with the primefaces by the:: tag, it does not appear....
asked by 21.07.2014 / 21:14
1
answer

Images are not displayed, even with correct path

I'm not able to make any browser display grid images, it's not a path problem since I opened the code in other editors that have the option to display the link in the figure and open it in a separate window, also open in Dreamweaver where even t...
asked by 28.11.2018 / 01:18
1
answer

How to send images via socket in Python?

So there's the server: import socket from PIL import Image port = 8000 host = '127.0.0.1' s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.bind((host, port)) s.listen(5) while True: conn, addr = s.accept() print('Conectado a...
asked by 14.11.2018 / 03:08
1
answer

How do I show an image according to given Number being this number is by random in python?

import numpy as np import matplotlib.pyplot as plt from PIL import Image import cv2 def showfig(image, ucmap): imgplot=plt.imshow(image, ucmap) img0 = cv2.imread("zero.jpg",0) img1 = cv2.imread("um.jpg",0) from random import randint #gera...
asked by 30.10.2018 / 22:32
1
answer

move_uploaded_file returns only FALSE

I have a problem that I could not identify, move_uploaded_file returns only FALSE regardless of what I pass in the parameters. Here is the code: <form method="POST" enctype="multipart/form-data"> <input type="file...
asked by 26.10.2018 / 18:30
1
answer

Screen Resolution (DPI) css

I plan to layout a book, and there are thousands of information. I can get them on a page and add them to the DB. Subsequently it would pull them, do some calculations, and return them in thousands of threads on the screen. On this screen, th...
asked by 17.10.2018 / 21:01
1
answer

Script to recognize similarity between images

Good Afternoon Personal, okay? I'm starting my studies in Python set to OpenCV, and I want to perform the reading of images and display the degree of similarity between them. Ex: I have a database with several images, I will give the scrip...
asked by 12.09.2018 / 17:49
1
answer

How do I save an image in the database through an application? [duplicate]

I have an application in C # and I want to make it possible to save a photo in the SQL database. 1- How do I set up the database structure to receive an image? 2 - How will I send the application photo to the DB?     
asked by 05.07.2018 / 06:29
1
answer

How to compare two image names in Android Studio

Having a imagem = (ImageView) findViewById(R.id.imageViewId); How do I know if the current image has the name x or y? I tried some forms, with the equals and such, but it did not work .... if (imagem.equals("nome")){...     
asked by 07.02.2018 / 00:23