Commit 3885506f authored by Rohan  Kumar's avatar Rohan Kumar
Browse files

.

parent d54dedd1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@ public class ObjectSet {

        // 4) Now that we have a full list of candidate objects, we can do object resolution by combining candidates with overlapping points
        for(PointSet c : candidates){
            if(c.pset.size() > 2){
            if(c.pset.size() > 100 && c.pset.size() < this.pointCloud.size()*0.75){
                this.reconcileCandidate(c, 0.7);
            }
        }
+8 −3
Original line number Diff line number Diff line
package object_detection.types;

import org.apache.commons.lang3.builder.HashCodeBuilder;

public class Point {


@@ -39,13 +41,16 @@ public class Point {
            return false;
        }
        Point p = (Point) o;
        return Point.equals(this, p, (float) 6);
        return Point.equals(this, p, 0.0001F);
    }

    @Override
    public int hashCode() {
        float res = this.x + this.y + this.z;
        return Float.hashCode(res);
        return new HashCodeBuilder(17, 37)
                .append(this.x)
                .append(this.y)
                .append(this.z)
                .toHashCode();
    }
    @Override
    public String toString() {
+0 −1
Original line number Diff line number Diff line
server.port = 5555
#spring.data.mongodb.uri = mongodb+srv://zanem:<YXQiSFkSVqxPTs3M>@cluster0.axhv9kg.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0
 No newline at end of file
+2 −0
Original line number Diff line number Diff line
server.port = 5555
#spring.data.mongodb.uri = mongodb+srv://zanem:<YXQiSFkSVqxPTs3M>@cluster0.axhv9kg.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0
 No newline at end of file
+7.79 KiB

File added.

No diff preview for this file type.

Loading