Posts by Tecnologia da Net • 374 points
18 posts
-
1
votes1
answer380
viewsA: How to remove the background of an image using Watershed on android?
private fun extractForegroundFromBackground(coordinates: Coordinates, currentPhotoPath: String): String { // TODO: Provide complex object that has both path and extension // Matrices…
-
1
votes1
answer135
viewsQ: Error returning objects saved in database between activites - Null object
I’m developing a simple application to fill out a form, display the registrants and edit them. I’m using the one-to-many relationship where a patient can hold multiple photos, photos that are being…
-
2
votes1
answer209
viewsQ: Error while creating tables simultaneously in sqlite database
I’m developing a mobile application that saves data from a form in the local database, using the sqlite. Only every time the database is reset or changed its version it returns me an error that…
-
1
votes0
answers56
viewsQ: Byte[] to image conversion returning null
I am developing a mobile application that send photos of the application to the server, made in springboot. When receiving the request with the image, via json, I try to convert String to Image.…
-
1
votes0
answers35
viewsQ: Error loading image in application by Json request
I am developing an application that captures pictures sends to the server, the server saved in the database, and when the user wants, he can download these photos again on his mobile phone. Even the…
-
7
votes1
answer513
viewsQ: How to remove noises and hairy image lines?
I’m working on hair removal on skin images. Researching the literature, the means to achieve my goal, applying some techniques of segmentation and removal of noise in images. Which I’m applying to.…
-
1
votes1
answer722
viewsQ: How to plot graphically with the colors of each pixel of the image?
I am working on the color recognition of images, with this, I am converting the RGB image to Lab, because it is the color space closest to the human view. Once this is done, I take each of the 3…
-
7
votes1
answer2289
viewsQ: How to remove image noises using opencv - python?
I am working with skin images, in the recognition of skin spots, and due to the presence of noises, mainly by the presence of hair, it is more complicated this work. I have an example image in which…
-
4
votes1
answer1206
viewsQ: How to remove area of interest from the background of an image?
I am starting to work with image processing in pattern recognition, and I need to do pre-processing of the images I will use. First, I need to highlight the region of interest from the background of…
-
0
votes2
answers162
viewsA: How to pass data from one button switch to another acivity?
Create a class within the class where Voce manipulates your listview: class CustomAdapter extends BaseAdapter{ private List<Palheta> palhetas; public CustomAdapter(List<Palheta>…
-
4
votes1
answer2372
viewsA: How to add the eye to display the password in Android Studio?
Change your code for this: <android.support.design.widget.TextInputLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="300dp"…
-
0
votes1
answer43
viewsA: Problem editing registration information that has unicity check
Do so: `Agente funcionarioBanco = Agente.find("email = ? or login = ?", funcionario.email, funcionario.login).first(); if (funcionario.id == null) { if (funcionarioBanco != null &&…
-
-1
votes2
answers322
viewsA: Consume webservice of addresses queries of a given city
Use the https://developers.google.com/maps/documentation/geocoding/intro?hl=pt-br this Google API returns the addresses that Voce wants, just send latitude and longitude.…
-
0
votes1
answer328
viewsA: Basicnetwork.performRequest: Unexpected Response code 500 for
You are sending a post and your service is waiting a get, change your route to: POST /Services/login/ Services.login
-
0
votes1
answer185
viewsA: Handle response from the Rest service using Volley
Do so: if (response.contains("Erro")) { progressDialog.dismiss(); Toast.makeText( DenunciaActivity.this, "Erro ao enviar", Toast.LENGTH_LONG ).show(); } else { progressDialog.dismiss(); Intent…
-
0
votes1
answer37
viewsA: Error while consuming service using Volley
Change your route to POST and change StringRequest stringRequest = new StringRequest( Request.Method.POST, REGISTER_URL+"?matricula="+fmatr +…
-
-1
votes1
answer50
viewsA: Send a command without updating the page
that solves: <div class="col-lg-6"> <div class="articles card"> <div class="card-close"> </div> <div class="card-header d-flex align-items-center"> <h2…
-
2
votes0
answers67
viewsQ: I can’t save photo in the bank
I am creating a web application that registers employees,and in this register there is an option to upload photo to link to profile, but when registering null arrives in the bank. Can someone help…